That explains the massive resistance of the corporations against the windfall profits tax. If it were to be implemented, the scenario described above would likely be limited. But betting on that now would be too risky for me :-D
When I read something about "fictitious profits" in the newspaper, as a company I would also try to prevent that at all costs. In the worst case, you have the double misfortune of having sold your electricity long-term below the current market price and still facing a windfall profits tax. But even a windfall profits tax on real profits is likely legally highly questionable, so I assume that there will be much discussion and possibly a decision, but in the end, the state will pay all subsidies from new debt. And that subsidies and price caps distort the market is economics 101 and obvious even without an economics degree. Unfortunately, politics across all parties like to ignore that when they can present themselves as major players.