; and (2) submits to Congress a notification on the waiver and the reasons for the waiver. (e) Exceptions (1) Exceptions for authorized intelligence and law enforcement activities This section 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 any authorized intelligence, law enforcement, or national security activities of the United States. (2) Exception to comply with international agreements Sanctions under subsection (b)(2) shall not apply with respect to the admission of an alien to the United States if such admission is necessary to comply with the obligations of the United States under the Agreement regarding the Headquarters of the United Nations, signed at Lake Success June 26, 1947, and entered into force November 21, 1947, between the United Nations and the United States, or the Convention on Consular Relations, done at Vienna April 24, 1963, and entered into force March 19, 1967, or other international obligations. (f) Lifting of sanctions The President shall lift the sanctions imposed under this section with respect to a foreign person if the foreign person is no longer the beneficial owner of a vessel identified on the black list under section 4. (g) Definitions In this section: (1) Admission; admitted; alien; lawfully admitted for permanent residence The terms admission , admitted , alien , and lawfully admitted for permanent residence have the meanings given those terms in section 101 of the Immigration and Nationality Act ( 8 U.S.C. 1101 ). (2) Beneficial owner The term beneficial owner means, with respect to a vessel, a person that, directly or indirectly, through any contract, arrangement, understanding, relationship, or otherwise— (A) exercises substantial control over the vessel