784 - Appeal in mandamus, etc.
784. (1) An appeal lies to the court of appeal from a decision granting or refusing the relief sought in proceedings by way of mandamus, certiorari or prohibition.
Application of Part XXI
(2) Except as provided in this section, Part XXI applies, with such modifications as the circumstances require, to appeals under this section.
Refusal of application, and appeal
(3) Where an application for a writ of habeas corpus ad subjiciendum is refused by a judge of a court having jurisdiction therein, no application may again be made on the same grounds, whether to the same or to another court or judge, unless fresh evidence is adduced, but an appeal from that refusal shall lie to the court of appeal, and where on the appeal the application is refused a further appeal shall lie to the Supreme Court of Canada, with leave of that Court.
Where writ granted
(4) Where a writ of habeas corpus ad subjiciendum is granted by any judge, no appeal therefrom shall lie at the instance of any party including the Attorney General of the province concerned or the Attorney General of Canada.
Appeal from judgment on return of writ
(5) Where a judgment is issued on the return of a writ of habeas corpus ad subjiciendum, an appeal therefrom lies to the court of appeal, and from a judgment of the court of appeal to the Supreme Court of Canada, with the leave of that Court, at the instance of the applicant or the Attorney General of the province concerned or the Attorney General of Canada, but not at the instance of any other party.
Hearing of appeal
(6) An appeal in habeas corpus matters shall be heard by the court to which the appeal is directed at an early date, whether in or out of the prescribed sessions of the court.