Let's remind the whole picture here: We want to come back to global greenhouse gases emissions on 1990, because they were balanced by nature's absorption. It often happens that the cost of building solar panels, transporting them to the location, disposing them before their estimated time-to-live and getting rid of all their chemicals emit more carbon than we save by using electricity from the solar panels.
Another bias is: By making energy cheaper, does it encourage the use of said energy, thereby offsetting the gains? "I've saved 20% of carbon emissions compared to having a petrol-based SUV" tells another story than "I don't have an SUV".
Greenhouse gas ecology is hard. The only way to avoid doing those analysis would be to tax carbon emissions for the side effects they produce. Then we would be able to just by the cheapest, which would also be the most energy-efficient.