Avoiding Climate Disasters through Legislative Intervention