(5) Where a witness has been committed to prison pursuant to subsection (4), the court before which the witness appears or a justice having jurisdiction in the territorial division where the prison is situated may, by order in Form 39, discharge the witness from custody when the trial is concluded.
(5) Lorsqu’un témoin a été envoyé en prison conformément au paragraphe (4), le tribunal devant lequel il comparaît ou un juge de paix ayant juridiction dans la circonscription territoriale où la prison est située peut, par une ordonnance rédigée selon la formule 39, le libérer de sa détention lorsque le procès est terminé.