; and (ii) automatically cancel any other valid visa or entry documentation that is in the foreign person’s possession. (c) Exceptions Sanctions under subsection (b) shall not apply to a foreign person if admitting or paroling the person into the United States— (1) 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 any other applicable international obligation of the United States; or (2) is necessary to carry out or assist law enforcement activity in the United States. (d) Waiver The President may waive the application of sanctions imposed with respect to a foreign person under subsection (b) if the President— (1) determines that such a waiver is in the national interest of the United States; and (2) not later than the date on which such waiver will take effect, submits a notice of and justification for such waiver to the appropriate congressional committees. (e) Termination of sanctions (1) In general The President may terminate the application of sanctions under subsection (b) with respect to a foreign person if the President makes a determination that— (A) credible information exists that the person did not engage in the activity for which visa ineligibility was imposed; (B) the person has been prosecuted appropriately for the activity for which visa ineligibility was imposed; (C) the person has— (i) credibly demonstrated a significant change in behavior; (ii) been subject to an appropriate consequence for the activity for which visa ineligibility was imposed; and (iii) credibly committed to not engage in an activity described in that subsection in the future