A writ of habeas corpus is a legal tool that a person can use to enforce a superior right of possession to a child. Court Order for Conservatorship of the Child(ren).Choose one: Check (1) if you are claiming superior rights under a court order. In child custody cases, parents or guardians can use the writ of habeas corpus to contest the legality of custody arrangements. This guide includes forms and instructions for a letter and affidavit to request that the court register an outofstate custody order in Texas. In Texas, grounds for a writ of habeas corpus in child custody cases can include concerns about the child's safety, wellbeing, or living conditions. He is Petitioner's immediate custodian and resides in the judicial district of the United States Court for the Western District of Texas, San Antonio Division. Call 936-647-1540 for tailored legal solutions in state and federal cases. Downloadable forms for eFiling, Divorces, and Suites Affecting the Parent-Child Relationship, Child Support, Hail Claims, Legal, LegalEase, and Passports. The required application for a person currently incarcerated in TDCJ to file for a writ of habeas corpus under Texas Code of Criminal Procedure, Article 11.07.