I think that's the whole point about Guantanamo - the local court is on the other side of a razor wire fence - in Cuba - by claiming that it's not US soil the US government avoids its own laws
This is rather more about not letting these prisoners get access to to the inalienable rights that people in the US have ie the US constitution does not apply there, even though they convene US courts and try people - it's all rather 1984ish