The Supreme Court ruled today (pdf of the opinion here) that the alien combatants held at Guantanamo, the United States naval base in Cuba, have the protections of the habeas corpus clause of the United States constitution, and that Congress cannot withdraw that right from them by statute. (A provision of the constitution says that the writ of habeas corpus may not be suspended, except in case of invasion or insurrection, neither of which has occurred.)
I will leave to others to comment on how the Supreme Court has repeatedly rebuffed President Bush on this issue. The thing that most struck me about the decision was its characterization of one of the administration's arguments. The Justice Department argued that the constitution did not apply at Guantanamo because Guantanamo was not United States territory, but was under the sovereignty of Cuba, and the United States acknowledges it to be under the sovereignty of Cuba. That begs the delightful question of whether the United States -- which agrees that the base is under Cuban sovereignty -- would obey an order of a Cuban court to release the detained persons. Somehow I don't think the Justice Department's lawyers thought that one through before they made their argument.