It's still on the same power grid. The renewable energy would have been used one way or another. It's still contributing to the burning of fossil fuels on the grid.
[1] https://www.hydroquebec.com/data/documents-donnees/pdf/compa...
Multiple providers are working like this in Europe at least. They partner with many local solar/hydro/wind producers. It's approximate of course they can't predict exactly the amount required in advance but in the grand scheme of things it works by supply/demand mechanics..
You could trace btc to a reward allocated to a miner on a renewable electricity contract. Then you know an equivalent amount of energy used to mine these coins was produced sustainably.