The privilege of the writ of habeas corpus shall not be suspended, unless when in Cases of Rebellion or Invasion the public Safety may require it. A writ of habeas corpus is used to bring a prisoner or other detainee (e.g.The Privilege of the Writ of Habeas Corpus shall not be suspended, unless when in Cases of Rebellion or Invasion the public Safety may require it. The Writ of Habeas Corpus protects prison inmates from false imprisonment to ensure people are not thrown into jail unlawfully. This manual explains how someone without a lawyer can file a petition for writ of habeas corpus in the California state courts. In United States law, habeas corpus is a recourse challenging the reasons or conditions of a person's confinement under color of law. Habeas Corpus, in the Federal Court, is a petition that claims that you are being detained against your US constitutional rights. GF-18. Order Directing (Custody) (Visitation). Petitioner is confined pursuant to the judgment of the Orange County Superior Court in Case No. 94ZF0036, entered on July 31,. 1996. The Privilege of the Writ of Habeas Corpus shall not be suspended unless when in cases of Rebellion or Invasion the public may require it.