The base containing the prison camp is on territory that is recognized as sovereign Cuban territory. It is legally leased (rented) to the American Navy by the Cuban government through the 'Agreement between the United States and Cuba for the Lease of Lands for Coaling and Naval sites'. This suggests it is illegal for the US to hold a prison on the land.