(41) has in effect procedures and requirements ensuring that children who are 4 years of age or older in foster care placements are housed in accordance with their sex, including—
(A) requirements that a foster family home provide either single occupancy or sex-separated multi-occupancy sleeping quarters (other than sleeping quarters shared only with a sibling), bathrooms, showers, locker rooms, changing rooms, or any other areas in which a child would be in a state of undress when in use by the child;
(B) requirements that a child-care institution (including any group home, residential treatment center, shelter, qualified residential treatment program, settings for pregnant or parenting foster youth described in section 472(k)(2)(B), setting for sex trafficking victims described in section 472(k)(2)(D) or other congregate care setting) assign the child to and provide either single occupancy or sex-separated multi-occupancy sleeping quarters (other than sleeping quarters shared only with a sibling), bathrooms, showers, locker rooms, changing rooms, or any other areas in which a child would be in a state of undress, when in use by the child; and
(C) requirements that licensing standards for foster family homes, child-care institutions, and other placement settings include compliance with subparagraphs (A) and (B) as a condition of licensure for any foster family home, child-care institution, or other placement setting receiving funds under this part; and
(42) has in effect procedures and requirements ensuring that no sex-rejecting interventions are initiated or continued when the child is removed from the custody, care, or control of the parent.
.