the disputed lands reside close to the sipadan and ligitan islands , which it losing to malaysia in a legal battle in the international court of justice in may 2002 .
There is a territorial waters dispute.