; and (B) automatically cancel any other valid visa or entry documentation that is in the foreign person’s possession. (3) Regulations required Not later than 180 days after the date of the enactment of this Act, the Secretary of State shall prescribe such regulations as are necessary to carry out this subsection. (c) Applicability to foreign entities and foreign governments Subsections (a) and (b) of this section shall apply to aliens who are officials of, agents or instrumentalities of, working or acting on behalf of, or otherwise associated with a foreign entity or foreign government that is a foreign person included on the list required under section 3(a) if such aliens are determined by the Secretary of State to have knowingly authorized, conspired to commit, been responsible for, engaged in, or otherwise assisted or facilitated the actions described in such section. (d) Exception To comply with international obligations Sanctions under this section shall not apply with respect to a foreign person if admitting or paroling such person 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. (e) Waiver for national security interests The Secretary of State may waive the application of subsection (a) or (b) in the case of an alien if— (1) the Secretary determines that such a waiver is in the national security interests of the United States