You mean it is the EU consumer, and not Nord Stream 2 getting ruined?
In September Gazprom/NS2 lost its case at the EU High Court, ie, pleading to the court to be accepted as an energy monopoly.
The Court ruled against Russia and Germany, saying EU law, rules, regs prohibit a monopoly over energy supply, transiting the supply, and distributing the energy supply to consumers. In this instance it's Russian gas throughout Europe.
Gazprom/NS2 and Germany had made a severe plea to the court saying not being a monopoly would "risk bankruptcy."
Nonetheless the Court upheld EU (and German law) that prohibits an energy monopoly on the continent. Specifically, Gazprom/NS2 must comply with the EU 2019 Gas Directive that requires a foreign supplier, namely Russia, to auction off 50% of its pipeline capacity to a corporation wholly independent and completely separate from itself. Gazprom/NS2 hasn't done this and hasn't made any moves to prepare to comply with the rule of law.
The Court further upheld the EU Third Energy Package of 2012 that requires a foreign supplier to auction off its distribution system to yet another corporation that is the same, ie, wholly independent and completely separate from Gazprom/NS2. After all, Gazprom is incorporated in Russia under Russian "law" while NS 2 AG is incorporated in Switzerland under Switzerland law. Indeed, the German energy regulator suspended consideration of pipeline certification unless and until, at a minimum, NS 2 AG also incorporates in Germany so that the corporation can operate in Germany under the authority of German law. This also means btw that NS 2 AG will need to incorporate under the energy laws of the EU and of each EU member state that hosts the pipelines, infrastructure, personnel resources.
Putin's Problem going back to 2012 is that he knew German and EU energy laws prohibited a foreign monopoly on the continent but he went ahead anyway with Gazprom/NS2 as a Kremlin owned and operated monopoly. Worse yet, Putin always intended to impose Gazprom/NS2 on Europe as his personal energy monopoly.
Putin at the EU High Court thought he was pulling a compelling card from up his sleeve when he pleaded the "risk of bankruptcy" if he can't have his monopoly. Well, as the Greens Energy Minister and Vice Chancellor Robert Habeck has pointed out -- together with the Greens Foreign Minister Annalena Baerbock -- the pipeline project cannot and will not be certified as a monopoly. The Free Democrats in the coalition led by SPD agree and have always agreed -- FDP in fact wants a formal treaty agreement that compels Russia to comply with German law and EU law, and that guarantees Russian hands off Ukraine which itself can supply all of Europe's gas needs from Russia.
Hence the specter since the summer of NS2
"investment ruin." Because if Gazprom refuses to comply with German law and EU law it won't be certified. Yet if Gazprom/NS2 complies with the law it will go bankrupt. Hence Putin's fierce campaign of blackmail, his current and massive propaganda campaign and his 100,000+ troops at the Ukraine borders. So now it is up to the oligarchs of the Kremlin Mafia to possibly consider and decide whether Putin is any good for them any more.