The court set aside the environmental authorisations because of flawed assessments of oil spill effects, coastal laws, climate change and public participation