Instead habeas corpus is a vehicle to make a record of new evidence that demonstrates either innocence or a constitutional violation. A writ of habeas corpus is a legal tool used to enforce a superior right of possession to a child.The state writ of habeas corpus is a legal mechanism that allows individuals to challenge their detention or imprisonment. The purpose of a Writ of Habeas Corpus is for the court to determine whether it has lawfully convicted and sentenced a person. An application for a writ of habeas corpus asks a court to overturn your conviction because of a state or federal constitutional violation. An application for a Writ of Habeas Corpus is filed when a person seeks relief from unlawful detention or imprisonment. A writ of habeas corpus is a legal tool that a person can use to enforce a superior right of possession to a child. Inmates in Texas are allowed to appeal their sentences or convictions to a higher court. In the Interest of the following Minor Child(ren):. (Print the full name of each child.) 1. 2. 3.