Section 23(1)

23. Procedure on order of detention or sentence of imprisonment.
(1) Subject to the provisions of sub-S. (2), when a person has been
ordered to be detained in a certified institution under S. 5 or S. 6 or
S. 9, the court which ordered the detention shall forthwith forward him
to the nearest Receiving Centre with a copy of the order of detention.
The person shall thereupon be handed over into the custody of the
Superintendent of the Receiving Centre and shall be detained in the
Receiving Centre until he is sent therefrom to a certified institution.