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.
Okay, let's ignore "most of the time" and focus on times when carbon-free power was more expensive. Were these companies actually footing the bill in that case? Because increasing the marginal funding toward clean sources when the grid is dirtiest is the whole point.
In any case, carbon-free power from the grid is mostly a legal/financial construct with limited real-world impact. When the grid is dirtiest, market prices are set by fossil fuels with high marginal costs, and clean sources get the same price without any tricks.