Whatever US courts say about it, abducting people all over the world, locking them up for years without establishing that they are guilty of anything, and subjecting them to harsh and abusive treatment is a flagrant violation of international law. By any standard of justice, it is also just plain wrong.