; and (III) otherwise ineligible to be admitted or paroled into the United States or to receive any other benefit under the Immigration and Nationality Act ( 8 U.S.C. 1101 et seq. ). (ii) Current visas revoked (I) In general The issuing consular officer, the Secretary of State, or the Secretary of Homeland Security (or a designee of one of such Secretaries) shall, in accordance with section 221(i) of the Immigration and Nationality Act ( 8 U.S.C. 1201(i) ), revoke any visa or other entry documentation issued to an alien described in clause (i) regardless of when the visa or other entry documentation is issued. (II) Effect of revocation A revocation under subclause (I) shall take effect immediately and shall automatically cancel any other valid visa or entry documentation that is in the alien’s possession. (2) Exceptions (A) United nations headquarters agreement The sanctions described in paragraph (1)(B) shall not apply with respect to an alien if admitting or paroling the alien into the United States is necessary to permit the United States to comply with 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 other applicable international obligations. (B) Exception for intelligence, law enforcement, and national security activities Sanctions under paragraph (1) shall not apply to any authorized intelligence, law enforcement, or national security activities of the United States. (d) 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 person that violates, attempts to violate, conspires to violate, or causes a violation of this section, regulations promulgated to carry out this section, or the sanctions imposed pursuant to this section to the same extent that such penalties apply to a person that commits an unlawful act described in section 206(a) of that Act.