; and (2) the country meets the conditions described in paragraphs (1), (2), and (3) of subsection (c). (b) Technical assistance and expertise The Administrator of the United States Agency for International Development, in consultation with the Secretary of Energy and the United States International Development Finance Corporation, may provide technical assistance and expertise in electrical grid and energy efficiency improvements related to sales under subsection (a), as appropriate. (c) Conditions described The conditions described in this subsection are the following: (1) The country is taking steps to reduce migration in violation of the Immigration and Nationality Act. (2) The country is taking steps to reduce economic dependence on the People’s Republic of China. (3) The country allows Taiwan to establish and maintain a commercial office in the country. 6. Latin American or Caribbean country defined (a) In general In this Act, the term Latin American or Caribbean country — (1) means— (A) a country in the Caribbean Sea, South America, or Central America; and (B) Mexico; and (2) except as provided in subsection (b), does not include Cuba or Venezuela. (b) Exception The term Latin American or Caribbean country shall include Cuba or Venezuela if the Secretary of State determines and certifies to Congress that— (1) the government of such country— (A) has held free and fair presidential and legislative elections, as determined by independent international observers, and subsequent elections are scheduled; (B) respects and upholds human rights; (C) is taking significant steps to privatize its economy and institute a free market; (D) permits the international community to provide humanitarian, governance, and economic development assistance; (E) has freed all unlawfully detained United States citizens, legal permanent residents, and political prisoners; and (F) has expelled all security services from foreign adversaries from the country