Sea levels were rising, coastlines were being eroded and coral reefs were suffering.