Court declares Ley's climate duty of care