; (B) a detention facility operated by a State or local law enforcement agency; (C) a shelter or facility, whether permanent or temporary in nature, housing unaccompanied minors in the custody of the Office of Refugee Resettlement; or (D) a State or local prison or jail. (2) Requirements Notwithstanding paragraph (1), a medical professional may authorize the transfer of an individual between an ICE detention facility and a State or local prison or jail for medical purposes or at the request of the individual if the medical professional— (A) administers a COVID–19 test; and (B) quarantines the individual in a nonpunitive medical unit immediately before or after conducting the transfer— (i) for a period of 14 consecutive days; or (ii) until the test comes back negative. (3) Defined term As used in paragraph (2)(B), the term nonpunitive medical unit excludes any punitive holding area, including isolation, solitary confinement, and administrative segregation. (c) Release of detainees Nothing in subsections (a) and (b) may be construed to prohibit— (1) the transfer of any individual solely for the purpose of necessary processing related to the individual’s release from custody