The Supreme Court ruled in "Boumediene v. Bush" that the MCA amounts to an unconstitutional encroachment on "habeas corpus" rights, and established jurisdiction for federal courts to hear petitions for "habeas corpus" from Guantanamo detainees tried under the Act. Under the MCA, the law restricted "habeas" appeals for only those aliens detained as enemy combatants, or awaiting such determination. Left unchanged was the provision that, after such determination is made, it is subject to appeal in federal courts, including a review of whether the evidence warrants the determination. If the status was upheld, then their imprisonment was deemed lawful; if not, then the government could change the prisoner's status to something else, at which point the "habeas" restrictions no longer applied.