PART IV - PROVISIONS RELATING TO ALL CRIMINAL INVESTIGATIONS AND PROCEEDINGS
131 Power of court to order prisoner to be brought up for examination
(1) Any court desirous of examining as a witness, in any case pending before it, any person confined in any prison may issue an order to the officer in charge of such prison requiring him to bring such prisoner in proper custody, at a time to be named in the order, before the court for examination.
(2) The officer so in charge, on receipt of such order, shall act in accordance therewith and shall provide for the safe custody of the prisoner during his absence from the prison for the purpose aforesaid.
EDIT.