Here in Belgium they did make that mistake. They issued green power certificates so people installing solar panels could receive some money.
After a while it became pricey and they needed to halt the program. Still they were obligated to pay those certificates to those who registered under that program. The consequence is that they needed to raise other energy taxes and a lot of families who are struggling are being hit extra hard.
The sickening part of the whole story is that we have big wealthy industrial families who have build complete solar farms under that program and pure for the certificates. Some are receiving 10 millions euro a year (for 20 years) and paid for a part by the poor.