; (D) allows the detained noncitizen to have as much meaningful interaction with others, such as other detained noncitizens, counsel, visitors, clergy, or licensed mental health professionals, as people in the general population; (E) is for the purposes of longer-term separation as detailed in the provisions of this section; (F) is determined to be necessary following the consideration of all alternatives by facility personnel, including release; and (G) complies with the provisions under this section. (3) Specific limitations on longer-term segregation The Secretary— (A) shall limit longer-term separation in U.S. Immigration and Customs Enforcement and U.S. Customs and Border Protection facilities— (i) to situations in which such separation is necessary to control a substantial and immediate threat that cannot be addressed through alternative housing; and (ii) to a duration of not more than 7 consecutive days, and not more than 7 days in a 14-day period, unless the detained noncitizen— (I) is a protection case and requests to remain in longer-term separation pursuant to paragraph (4)(B)(i); (II) is provided with additional out-of-cell time, socialization, and programming opportunities; and (III) is provided with not fewer than 10 hours of out-of-cell time each day; and (B) may not permit the use of solitary confinement or longer-term separation as a form of discipline. (4) Protective custody The Secretary— (A) shall establish policies to ensure that a noncitizen who is a protection case— (i) upon the request of such noncitizen, is released with a care plan; or (ii) if release is not practicable, is transferred to the least restrictive safer alternative available, such as— (I) an alternative to detention; (II) an alternative general population unit in the same U.S. Immigration and Customs Enforcement or U.S. Customs and Border Protection facility; or (III) an alternative U.S. Immigration and Customs Enforcement or U.S. Customs and Border Protection facility