under title V of the National Security Act of 1947 ( 50 U.S.C. 3091 et seq.). (2) Authorized intelligence activities of the United States. (3) Activities 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, the Convention on Consular Relations, done at Vienna April 24, 1963, and entered into force March 19, 1967, or any other international agreement. (4) Activities incidental to the POW/MIA accounting mission in the Democratic People’s Republic of Korea, including activities by the Defense POW/MIA Accounting Agency and other governmental or nongovernmental organizations tasked with identifying or recovering the remains of members of the United States Armed Forces in the Democratic People’s Republic of Korea. (f) Waivers (1) In general The President may waive the application of sanctions under this section with respect to a person if the President— (A) determines that the waiver is in the national security interest of the United States