Powers of Superintendent for production of prisoner in interest of prisoner
40.—(1) The Superintendent of any prison may, on proof to his or her satisfaction that the presence of a prisoner at any place is required in the interest of the prisoner, by writing under the hand of the Superintendent order that the prisoner be taken to that place.
(2) A prisoner taken from a prison under an order made under subsection (1) must, while outside that prison, be kept in any custody that the Superintendent may by writing under the hand of the Superintendent direct, and while in that custody is deemed to be in lawful custody.