Colombia considered that the Esguerra-Bárcenas Treaty signed between 1928 and 1930 supported their claim on the sovereignty over the islands. Nicaragua considered the Esguerra-Bárcenas treaty invalid and argued that at the time it was signed, Nicaragua was invaded by the United States. It also appealed to the Pact of Bogota of 1948, under article 31 of which both countries agreed to comply with the International Court of Justice. Colombia considers this pact as invalid since article 6 in the same document specifies that the pact would not apply to previously resolved disputes referring to the Esguerra-Bárcenas treaty.
On December 6, 2001 Nicaragua filed a complaint against Colombia at the International Court of Justice in an attempt to resolve the dispute. President of NicaraguaDaniel Ortega also claimed that Colombia was too far from San Andres to have sovereignty over these and also accused Colombia of being "imperialist" and "expansionist". On December 12, 2007 Ortega also ordered the Nicaraguan military to be prepared for conflict with Colombia. The Colombian government answered that they would wait for the ICJ resolution and were going to ignore Ortega. On December 13, 2007 the International Court of Justice was set to resolve at 10 AM. The court finally concluded the long time dispute in favor of Colombia over the sovereignty over the San Andres Archipelago but also said that it had jurisdiction over the other aspects of the maritime dispute.
Unresolved maritime dispute
The Colombian newspaperEl Espectador said that Nicaragua could gain territory in this way by setting a new trial to resolve the maritime boundaries that were not previously established in any of the accords or treaties and the Roncador, Quitasueño y Serrana banks. Regarding this Colombia used as border the 82° meridian while Nicaragua wants to expand and gain territory. Ex-President of Colombia Álvaro Uribe and Minister of Foreign AffairsFernando Araújo expressed that Colombia needs to prove that the banks are also part of Colombia. President Uribe said that at the moment the Esguerra-Bárcenas treaty was signed there was nothing stipulated about the banks because Colombia was contesting them with the United States to resolve the sovereignty over these, but not because Nicaragua was claiming these and pointed out that Colombia had already been generous to Nicaragua by ceding the Mosquito Coast which had been previously claimed by Colombia.
On December 14, 2007, President Ortega of Nicaragua stirred controversy after making remarks over the Humanitarian exchange process the Colombian government and the FARC guerrilla are undergoing to exchange hostages for prisoners. Ortega opined about the issue calling the FARC "brothers" to free political prisoner Ingrid Betancourt and said that Betancourt's death could be used to cast blame on the FARC. The Colombian government regarded these remarks as an intervention in internal Colombian affairs and issued a note of protest to Nicaragua. The Colombian government did not consider appropriate the "familiarized language" used to refer to the head of a "narcoterrorist organization".