Ever since President Bush rammed the Military Commissions Act of 2006 through Congress to lend a pretense of legality to his detention camp at Guantánamo Bay, Cuba, we have urged Congress to amend the law to restore basic human rights and judicial process. Rulings by military judges this week suggest that the special detention system is so fundamentally corrupt that the only solution is to tear it down and start again.

The target of the judges’ rulings were Combatant Status Review Tribunals, panels that determine whether a prisoner is an “unlawful enemy combatant” who can be tried by one of the commissions created by the 2006 law. The tribunals are, in fact, kangaroo courts that give the inmates no chance to defend themselves, allow evidence that was obtained through torture and can be repeated until one produces the answer the Pentagon wants.

On Monday, two military judges dismissed separate war crimes charges against two Guantánamo inmates because of the status review system. They said the Pentagon managed to get them declared “enemy combatants,” but not “unlawful enemy combatants,” and moved to try them anyway under the 2006 law. That law says only unlawful combatants may be tried by military commissions. Lawful combatants (those who wear uniforms and carry weapons openly) fall under the Geneva Conventions.

If the administration loses an appeal, which it certainly should, it will no doubt try to tinker with the review tribunals so they produce the desired verdict. Congress cannot allow that. When you can’t win a bet with loaded dice, something is wrong with the game.