; or (ii) to protect residents from imminent threats to public safety; or (B) to limit or override the protections provided in— (i) section 239; or (ii) section 384 of the Illegal Immigration Reform and Immigrant Responsibility Act of 1996 ( 8 U.S.C. 1367 ). .