A writ of habeas corpus is used to bring a prisoner or other detainee (e.g. A writ of habeas corpus is a limited remedy in New York compared to other states and the federal statute authorizing the writ.A writ of habeas corpus is a legal order that requires a person who is holding another person in custody to bring the detainee before a court. Habeas corpus is also known as the Great Writ as it preserves the constitutional right to be protected against unlawful imprisonment. Which of the following would prevent the drugs from being used as evidence at trial? The writ of habeas corpus. Writ of Habeas Corpus A legal order that requires the government to produce a prisoner and show cause for their detention. A writ of habeas corpus is a court order to a person or institution holding someone in custody to deliver the imprisoned person to the court. Latin, meaning "you have the body. A writ of habeas corpus is a court order to a person or institution holding someone in custody to deliver the imprisoned person to the court.