36.—(1) Every person remanded to any prison by any court, Judge, Magistrate or Justice of the Peace, charged with any crime or offence, shall be delivered to the Superintendent of such prison as the Minister appoints for the custody of such persons, together with a warrant of commitment.
(2) The Superintendent shall detain a person referred to in subsection (1) according to the terms of the warrant, and shall cause that person to be delivered to such court, Judge, Magistrate or Justice of the Peace, or shall discharge that person at the time named in and according to the terms of the warrant.