PART IV – PROVISIONS RELATING TO ALL CRIMINAL INVESTIGATIONS
COMPELLING ATTENDANCE OF WITNESSES
148. Power of court to order prisoner to be brought up for examination
(1) A court desirous of examining, as a witness, in a case pending before it, a person confined in prison within the local limits of its jurisdiction, may issue an order to the officer in charge of the prison requiring him to bring the 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 the order, shall act in accordance therewith, and shall provide for the safe custody of the prisoner during his absence from the prison.
Other forms of cooperation
Cooperation under procedures of national law
National procedures for execution of requests for other forms of cooperation
Temporary transfer of persons in custody for purposes of identification or for obtaining testimony or other forms of assistance - national procedures for ICC proceedings
EDIT.