British Columbia, Canada
The following excerpt is from R. v Antonius, 2016 BCSC 997 (CanLII):
An application for habeas corpus engages a well-established two-part test. First, the applicant must establish that he has been deprived of liberty. Second, if there has been a deprivation of liberty, the applicant must raise a legitimate ground upon which to question the legality of that deprivation. If the applicant satisfies these two requirements, the onus shifts to the respondent to show the deprivation was lawful: May v. Ferndale, 2005 SCC 82 at para. 74 and Palfrey v. Warden of Mission Institution, 2015 BCSC 1777 at para. 13.
The above passage should not be considered legal advice. Reliable answers to complex legal questions require comprehensive research memos. To learn more visit www.alexi.com.