States as a nonimmigrant visitor for a period exceeding 90 days from the date of admission. (D) Bar to immigration benefits and to contesting removal (i) In general Subject to clause (ii), except for an alien admitted as a nonimmigrant under subparagraph (A) or (G) of section 101(a)(15) or a NATO nonimmigrant, any alien who remains in the United States beyond the period of stay authorized by the Secretary of Homeland Security, without good cause as determined by the Secretary of Homeland Security, in the Secretary's discretion, is ineligible for all immigration benefits or relief available under the immigration laws, other than a request for asylum, withholding of removal under section 241(b)(3), or relief from removal based on a claim under the Convention Against Torture and Other Cruel, Inhuman or Degrading Treatment or Punishment, done at New York, December 10, 1984. (ii) Exception The Secretary may, in the Secretary's sole and unreviewable discretion, find that a nonimmigrant is not subject to clause (i) if— (I) the alien was lawfully admitted to the United States as a nonimmigrant