Besides the main parties UK and Mauritius, 31 countries submitted written statements to the International Court of Justice