; and (II) automatically cancel any other valid visa or entry documentation that is in the alien’s possession. (d) Implementation; penalties (1) Implementation The President may exercise all authorities provided under sections 203 and 205 of the International Emergency Economic Powers Act (50 U.S.C. 1702 and 1704) to carry out this section. (2) Penalties The penalties provided for in subsections (b) and (c) of section 206 of the International Emergency Economic Powers Act ( 50 U.S.C. 1705 ) shall apply to a foreign person that violates, attempts to violate, conspires to violate, or causes a violation of paragraph (1) to the same extent that such penalties apply to a person that commits an unlawful act described in subsection (a) of such section 206. (e) Waiver The President may waive the application of sanctions under subsection (b) with respect to a foreign person if the President determines and certifies to the appropriate congressional committees that such a waiver is in the national interest of the United States. (f) Exceptions (1) Exceptions for intelligence activities Sanctions under this section shall not apply to 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 any authorized intelligence activities of the United States. (2) Exception to comply with international obligations and for law enforcement activities Sanctions under subsection (c)(2) shall not apply with respect to an alien if admitting or paroling the alien into the United States is necessary— (A) to permit the United States to comply with the Agreement regarding the Headquarters of the United Nations, signed at Lake Success on June 26, 1947, and entered into force November 21, 1947, between the United Nations and the United States, or other applicable international obligations