The International Court of Justice’s advisory jurisdiction, dispute settlement and state consent : an historical perspective