An international court will decide what nations owe to future generations.