The South American neighbours are involved in a long-running dispute about which country owns the oil-rich Essequibo area.
The lawsuit says there is no legitimate reason to send migrants to Guantánamo because the U.S. has ample detention facility.