It was a byproduct of the EU habit to create markets and competition where they don't naturally exist. You can buy electricity from any power company, and that company can then generate it itself or buy it from the market. Once you have a market like that, it's easy to add requirements such as carbon-free power. As long as the fraction of the market buying indulgences is lower than the share of the power generation meeting the requirements, fulfilling them is essentially free.