A Writ of Habeas Corpus challenges the legality of your incarceration. Answer this writ, stating the authority under which you restrain the prisoner.Exercise custody over the minor child. A writ of habeas corpus is a summons that carries the same force as a court order, and requires prison officials to bring a prisoner before the court. A writ of habeas corpus is a court order requiring a person in custody to be brought before a judge or into court. A writ of habeas corpus is a court order requiring a person in custody to be brought before a judge or into court. The purpose of this order is to ensure that the detainee is not being held unlawfully or without sufficient cause. What Happens If the Court Approves a Petition for a Writ of Habeas Corpus? The U.S. Supreme Court interprets the Constitution, which means it defines constitutional rights and violations in the cases it decides. Notice: Any false statements of a material fact may serve as a basis for prosecution and conviction for perjury.