855. The judge before whom the return is made must proceed, as soon as possible, to examine into the truth of the facts alleged. He may allow the allegations of the return to be contested in writing, authorize such written proceedings as he considers appropriate, and proceed himself to the trial of the issues or refer the case to the court. He may also admit to bail the person confined, upon security being given that he will appear at the trial and will obey the orders which may be given to him.
1965 (1st sess.), c. 80, a. 855.