A writ of habeas corpus is a legal tool that a person can use to enforce a superior right of possession to a child. This guide includes forms and instructions for a letter and affidavit to request that the court register an outofstate custody order in Texas.In child custody cases, parents or guardians can use the writ of habeas corpus to contest the legality of custody arrangements. Court Order for Conservatorship of the Child(ren). Choose one: Check (1) if you are claiming superior rights under a court order. In the Matter of the Application of: DOB: PETITION FOR WRIT OF HABEAS CORPUS. CASE NUMBER: Petitioner is . Org and find a legal form called "Answer" and deny all of her requests and ask the court to force her to prove her allegations. Anyone can file a writ of habeas corpus including individuals with knowledge of someone being unlawfully detained. A motion for enforcement as provided in this chapter may be filed to enforce any provision of a temporary or final order rendered in a suit.