A U.S. federal judge has ruled that military tribunals for prisoners at the U.S. base at Guantanamo Bay , Cuba , are unconstitutional .