"We have witnessed a win for climate justice of epic proportions," said Vanuatu's prime minister after the passage of a resolution asking the world's highest court to clarify national obligations for climate action and the legal consequences of inaction.