; or (B) engage in any defense cooperation with the government of the foreign country or any agent or instrumentality of such government. (2) Exception The prohibition under this subsection shall not apply with respect to activities of the Department of Defense relating to the protection of United States diplomatic and consular posts or personnel or to the evacuation of United States citizens. (c) Prohibition on arms sales The President may not sell, transfer, deliver, license for export, authorize the performance of any service relating to, or otherwise make available any defense article, defense service, or design and construction service, as such terms are defined for purposes of the Arms Export Control Act ( 22 U.S.C. 2751 et seq. ), to the government of the foreign country or any agent or instrumentality of such government. (d) Prohibition on commercial export of arms sales The President shall prohibit the issuance of licenses to export defense articles, defense services, and munitions items, as such terms are defined for purposes of the Arms Export Control Act ( 22 U.S.C. 2751 et seq. ), to the government of the foreign country or any agent or instrumentality of such government. (e) Prohibition on law enforcement exchanges (1) In general No Federal law enforcement agency, including any component of the intelligence community or the Department of Homeland Security (including the Transportation Security Administration, U.S. Immigration and Customs Enforcement, or the Border Patrol), and no State or local law enforcement agency may engage in any exchange with any police, military, or security forces of the foreign country. (2) Definitions In this subsection— (A) the term exchange means any training, or sharing of practices or technologies, whether sponsored by a government or private entity