section 784(5)


784(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.