A watershed legal ruling could help investors push for more ambitious climate action, writes Alison Ogley