A writ of habeas corpus is a petition to undo something "unlawful. " A writ of habeas corpus could be to over-turn a decades old conviction or a demand bond.So, a writ of habeas corpus is a court order to bring a person who's been detained to court to determine whether or not their detention is valid. A writ of habeas corpus is an order from a court to an official to produce an inmate. A writ of habeas corpus is a legal order that commands an individual or entity to produce a person who is allegedly being detained unlawfully. The U.S. Supreme Court interprets the Constitution, which means it defines constitutional rights and violations in the cases it decides. The "Great Writ" of habeas corpus is a fundamental right in the Constitution that protects against unlawful and indefinite imprisonment. 119 This means that if the Supreme Court decides a rule, test, or standard in a case that is decided after your direct review was complete, you generally. Fill out the Petition for Writ of Habeas Corpus to Return Child. The U.S. Supreme Court interprets the Constitution, which means it defines constitutional rights and violations in the cases it decides.