During the course of a trial, or when the detained person or committed person is ordered by the court to be present, the county jail or federal detention facility is approved for use as a temporary detention site. While the detained person is in the county jail or detention facility, the jail or detention facility is responsible for the control, care and custody of the resident.
Ill. Admin. Code tit. 59, § 299.210