It plans to take its dispute with India over the territory to to the International Court of Justice.