Did you mean the authority of the court to order the USCG to release the crew under a writ of habeas corpus?
Habeas Corpus
[ Latin, You have the body. ] A writ (court order) that commands an individual or a government official who has restrainedanother to produce the prisoner at a designated time and place so that the court can determine the legality of custody anddecide whether to order the prisoner’s release.
A writ of habeas corpus directs a person, usually a prison warden, to produce the prisoner and justify the prisoner’sdetention. If the prisoner argues successfully that the incarceration is in violation of a constitutional right, the court may orderthe prisoner’s release. Habeas corpus relief also may be used to obtain custody of a child or to gain the release of a detainedperson who is insane, is a drug addict, or has an infectious disease. Usually, however, it is a response to imprisonment bythe criminal justice system.
A writ of habeas corpus is authorized by statute in federal courts and in all state courts. An inmate in state or federal prisonasks for the writ by filing a petition with the court that sentenced him or her. In most states, and in federal courts, the inmateis given the opportunity to present a short oral argument in a hearing before the court. He or she also may receive anevidentiary hearing to establish evidence for the petition.
The habeas corpus concept was first expressed in the Magna Charta, a constitutional document forced on King John byEnglish landowners at Runnymede on June 15, 1215. Among the liberties declared in the Magna Charta was that “No freeman shall be seized, or imprisoned, or disseised, or outlawed, or exiled, or injured in any way, nor will we enter on him orsend against him except by the lawful judgment of his peers, or by the law of the land.” This principle evolved to mean thatno person should be deprived of freedom without Due Process of Law.
The writ of habeas corpus was first used by the common-law courts in thirteenth- and fourteenth-century England. Thesecourts, composed of legal professionals, were in competition with feudal courts, which were controlled by local landowners,or “lords.” The feudal courts lacked procedural consistency, and on that basis, the common-law courts began to issue writsdemanding the release of persons imprisoned by them. From the late fifteenth to the seventeenth centuries, the common-lawcourts used the writ to order the release of persons held by royal courts, such as the Chancery, admiralty courts, and the Star Chamber.
The only reference to the writ of habeas corpus in the U.S. Constitution is contained in Article I, Section 9, Clause 2. Thisclause provides, “The Privilege of the Writ of Habeas Corpus shall not be suspended, unless when in Cases of Rebellion orInvasion the public Safety may require it.” President Abraham Lincoln suspended the writ in 1861, when he authorized hisCivil War generals to arrest anyone they thought to be dangerous. In addition, Congress suspended it in 1863 to allow theUnion army to hold accused persons temporarily until trial in the civilian courts. The Union army reportedly ignored thestatute suspending the writ and conducted trials under Martial Law.
In 1789, Congress passed the Judiciary Act of 1789 (ch. 20, § 14, 1 Stat. 73 [codified in title 28 of the U.S.C.A.]), whichgranted to federal courts the power to hear the habeas corpus petitions of federal prisoners. In 1867, Congress passed theHabeas Corpus Act of February 5 (ch. 28, 14 Stat. 385 [28 U.S.C.A. §§ 2241 et seq.]). This statute gave federal courts thepower to issue habeas corpus writs for “any person … restrained in violation of the Constitution, or of any treaty or law of theUnited States.” The U.S. Supreme Court has interpreted it to mean that federal courts may hear the habeas corpus petitionsof state prisoners as well as federal prisoners.