NSW court makes key climate change ruling