Use this if you have a court order giving you custody of your child and the other parent has taken your child away from you. Print it underneath.This article discusses registering other states' custody and support orders in Texas so that Texas courts can change and enforce them. A writ of habeas corpus is a legal tool that a person can use to enforce a superior right of possession to a child. A habeas petition would be appropriate wherein the child is being held. However, there may be further remedies available. This guide includes forms and instructions for a letter and affidavit to request that the court register an outofstate custody order in Texas. You can obtain a Writ of HC in any county but the easiest is to file and seek this relief in the county in which your parenting plan is filed. (a) The relator may file a petition for a writ of habeas corpus in either the court of continuing, exclusive jurisdiction or in a court with jurisdiction. Please carefully read through all the steps listed below before you begin.