Sections 141 to 144 do not apply to—
(a) the custody of a patient mentioned in the Mental Health Act 2016 ; or
(b) the custody of a child under the Child Protection Act 1999 ; or
(c) the custody of a forensic disability client mentioned in the Forensic Disability Act 2011 ;unless the person is held in a corrective services facility within the meaning of the Corrective Services Act 2006 .