One thing to keep in mind, is that during periods of high demand they run the most inefficient, most polluting power sources, like diesel generators or natural gas peaker plants which are generally less efficient. So by dumping power on the grid when it's most needed you're reducing CO2 output more than if you just kept it for yourself. You then use it back when demand is low (early morning/late night) and efficient power sources are running.