to be taken as directed and shall provide for his safe custody during his absence from the prison or the lock-up. Persons taken out of priso* or lock-up under order deemed in legal custody. Persons of unsound mind detained in a prison or lock-up. Prisoners etc. suffering from leprosy. 27. Any person taken from a prison or lock-up under any order made under section 25 or section 26 of this Ordin- ance shall, whilst outside that prison or lock-up, be deemed to he in legal custody. 28. Whenever a person detained in a prison or lock-up is awaiting trial or is remanded in custody and it appears to the Administrator, acting in his discretion, on the certificate of a registered medical practitioner that such person is of unsound mind, the Administrator acting as aforesaid may, by order in writing setting' forth the grounds of belief that such person detained is of unsound mind, direct his removal to a Mental Hospital in the Colony there to be kept and treated as if such person had been ordered to be detained in such Mental Hospital under any law in force for that purpose and until the Medical Officer of such Mental Hospital certifies that such person has ceased to require treatment in that institution. Whenever the Medical Officer has so certified the Adminis- trator, acting in his discretion, shall by order in writing direct that such person be returned to the lock-up whence he was removed there to be dealt with according to law. 29. (1) Whenever a'prisoner or a person detained in a prison or lock-up appears to the Administrator, acting in his discretion, on the certificate of a registered medical practi- tioner to be suffering from leprosy, the Administrator acting as aforesaid may, by order in writing setting forth the grounds of belief that the prisoner or such person detained is suffer- ing from leprosy, direct his removal to such place as may be specified in the order there to be kept and treated until a regis- tered medical practitioner certifies that such prisoner or person has ceased to require treatment in that institution. (2) Where a certificate to the effect that a prisoner or person detained has ceased to require 'institutional treatment has been given under subsection (1) of this section, then if any prisoner or person in respect of whom the certificate is given is- (a) a prisoner and the term of his sentence has not ex- pired, the Administrator, acting in his discretion, shall, by order in writing, direct either that he be returned to the prison whence he was removed there to serve the remainder of any term to which he is liable or that he be discharged; or Prisons. 1967. No. 30.