For one, you are wasting a solar panel that could be offsetting more positive energy usage. And building both the solar panel and the miner is far from emission-free.
Building a solar panel and a gpu (say) is not emission free? Because they require energy to refine and manufacture. So we are still back to the fact the issue is with the energy generation. Right?