; or (ii) such confinement is limited to— (I) not more than 5 days of administrative segregation; and (II) is necessary to protect the inmate during preparation for transfer to a general population protective custody unit or a different general population unit. (4) Vulnerable populations The Bureau of Prisons or any facility that contracts with the Bureau of Prisons shall not place an inmate in solitary confinement if— (A) the inmate has a serious mental illness, has an intellectual disability, has a physical disability that a licensed medical professional finds is likely to be exacerbated by placement in solitary confinement, is pregnant or in the first 8 weeks of the postpartum recovery period after giving birth, or has been determined by a licensed mental health professional to likely be significantly adversely affected by placement in solitary confinement, unless— (i) the inmate poses a substantial and immediate threat; (ii) all other options to de-escalate the situation have been exhausted, including less restrictive techniques such as— (I) penalizing the inmate through loss of privileges; (II) speaking with the inmate in an attempt to de-escalate the situation; and (III) a licensed mental health professional providing an appropriate level of care; (iii) such confinement is limited to the briefest term and the least restrictive conditions practicable, including access to medical and mental health treatment; (iv) such confinement is reviewed by a multidisciplinary staff committee for appropriateness every 24 hours; and (v) as soon as practicable, but not later than 5 days after such confinement begins, the inmate is diverted, upon release from solitary confinement, to— (I) a general population unit; (II) a protective custody unit described in paragraph (3); or (III) a mental health treatment program as described in subsection (c)(2)