; rule of construction (a) In general The following activities shall be exempt from sanctions under sections 4, 5, 6, and 7: (1) Any activity subject to the reporting requirements under title V of the National Security Act of 1947 ( 50 U.S.C. 3091 et seq.), or to any authorized intelligence activities of the United States. (2) The admission of an alien to the United States if such admission 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. (3) The conduct or facilitation of a transaction for the sale of agricultural commodities, food, medicine, or medical devices to Iran or for the provision of humanitarian assistance to the people of Iran, including engaging in a financial transaction relating to humanitarian assistance or for humanitarian purposes, transporting goods or services that are necessary to carry out operations relating to humanitarian assistance or humanitarian purposes, and having merely incidental contact, in the course of providing humanitarian assistance or aid for humanitarian purposes, with individuals who are under the control of a foreign person subject to sanctions under this Act. (b) Definitions In this section: (1) Agricultural commodity The term agricultural commodity has the meaning given that term in section 102 of the Agricultural Trade Act of 1978 ( 7 U.S.C. 5602 ). (2) 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 ). (3) 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 ). (c) Rule of construction Nothing in this Act shall be construed to limit the authority of the