Reducing CO2 emissions by curtailing renewables