Britain has lost a seat on the International Court of Justice for the first time since the tribunal was established in 1946, a setback seen by some diplomats and commentators as a result of its waning international influence following its vote to leave the European Union.