(1) In general Sanctions and other measures under this title shall not apply to—
(A) the conduct or facilitation of a transaction for the provision of agricultural commodities, food, medicine, medical devices, humanitarian assistance, or for humanitarian purposes; or
(B) transactions that are necessary for, or related to, the activities described in subparagraph (A).
(2) Rule of interpretation This subsection should be interpreted to apply to an entity carrying out any internationally recognized agreement with the Government of Ukraine for the sale or provision of agricultural commodities, food, medicine, or medical devices to and from Ukraine unless the President determines that the agreement is being used to evade sanctions imposed by the United States, the United Kingdom, the European Union, or the Group of 7.
(3) Definitions In this subsection:
(A) Agricultural commodity The term agricultural commodity has the meaning given such term in section 102 of the Agricultural Trade Act of 1978 (7 U.S.C. 5602).
(B) Medical device The term medical device has the meaning given the term device in section 201 of the Federal Food, Drug, and Cosmetic Act (21 U.S.C. 321).
(C) Medicine The term medicine has the meaning given the term drug in section 201 of the Federal Food, Drug, and Cosmetic Act (21 U.S.C. 321).
(a) Exception for humanitarian assistance
(b) Exception for intelligence and law enforcement activities This title shall not apply with respect to activities subject to the reporting requirements under title V of the National Security Act of 1947 (50 U.S.C. 3091 et seq.) or to carry out or assist any authorized intelligence or law enforcement activities of the United States.
(c) Exception To comply with international obligations Sanctions under this title shall not apply to the admission or parole of an alien into the United States if such admission or parole is necessary to comply with United States obligations under the Agreement between the United Nations and the United States of America regarding the Headquarters of the United Nations, signed at Lake Success June 26, 1947, and entered into force November 21, 1947, or under the Convention on Consular Relations, done at Vienna April 24, 1963, and entered into force March 19, 1967, or other international obligations.
(d) Exception To comply with civilian nuclear cooperation agreements This title shall not apply to activities carried out under an agreement for cooperation between the United States and the Russian Federation entered into under section 123 of the Atomic Energy Act of 1954 (42 U.S.C. 2153).