Section 23
Examination of offenders
Whenever two or more persons are charged with any offence under this Act the court may require one or more of them to give evidence as a witness for the prosecution.
(2)
Any person referred to in subsection (1) who refuses to be sworn or to answer any lawful question shall be dealt with in the same manner as witnesses so refusing may by law be dealt with by a court.
(3)
Every person required to give evidence under subsection
(1)
, who in the opinion of the court makes true and full discovery of all things as to which he is lawfully examined, shall be entitled to receive a certificate of indemnity from the court, under the seal of the court, stating that he has made a true and full discovery of all things as to which he was examined, and such certificate shall be a bar to all legal proceedings against him in respect of all such things.