The dispute with Chile was taken to the International Court of Justice. The court ruled in support of the Chilean position, and declared that although Chile may have held talks about a Bolivian corridor to the sea, the country was not required to negotiate one or to surrender its territory.