(Bloomberg) -- German Chancellor Olaf Scholz promised that his government will forge ahead with investments needed to modernize the economy and maintain international competitiveness even after this month’s court ruling upended its budget planning.

The Constitutional Court judgment means Scholz’s ruling alliance has to move tens of billions of euros in special funds into the regular federal budget. That will drastically limit its room for maneuver and potentially threatens projects ranging from greening manufacturing to building out solar energy and expanding battery and semiconductor production.

In a statement to the lower house of parliament in Berlin on Tuesday, Scholz said it would be “a serious, unforgivable mistake to neglect the modernization of our country” given challenges that Germany faces, including dealing with the fallout from Russia’s war on Ukraine and tackling climate change.

“Only if Germany modernizes itself will we be in a position to react powerfully to unforeseen crises in the future,” Scholz said, amid sustained heckling from opposition lawmakers. “We must now ensure that we manage the transformation of our economy in Germany and remain competitive as a strong industrialized country.”

As a consequence of the Nov. 15 court ruling, Scholz’s coalition of his Social Democrats, the Greens and the Free Democrats on Monday approved a supplementary 2023 budget that includes the suspension of rules limiting net new borrowing for a fourth consecutive year.

The government will have to account for more off-budget new borrowing in next year’s finance plan. Scholz said that consultations on the 2024 budget have not yet been completed and cautioned that “care takes precedence over speed.”

He didn’t specify whether the ruling coalition plans to suspend the so-called debt brake again next year.

“One thing is clear: this ruling creates a new reality — for the federal government and for all current and future governments, at both federal and state level,” he told lawmakers. “A reality, however, that makes it more difficult to achieve important and widely shared goals for our country.”

He said that the government is working with Bundestag “intensively to make all the decisions necessary for the 2024 budget as quickly as possible” because citizens and companies “need clarity in turbulent times.”

The court challenge relating to the government’s use of special funds was filed by the main opposition conservatives and their leader, Friedrich Merz, laid into Scholz in a speech immediately after the chancellor’s.

The CDU/CSU alliance will be watching very carefully to see if the government breaches any constitutional rules in its 2024 budget plan, he warned, raising the prospect of more legal pain for Scholz and his ministers.

“Compared with the chancellors your once so proud SPD party has produced — Willy Brandt, Helmut Schmidt, even Gerhard Schroeder — one has to come to the conclusion after this statement this morning: You can’t do it,” Merz said, prompting laughter and wild applause from conservative allies in the chamber. “The shoes you are standing in as chancellor of Germany are at least two sizes too big for you.”

Scholz said that it’s essential Germany continues initiatives in areas like modern and digital infrastructure, clean energy supply and climate-friendly technologies if it wants to keep pace with rivals like the US, France, China and Japan, which are “investing massively in the future.”

“We are in the midst of the dawn of a new era — comparable in scale only to the dawn of the industrial age in the 19th century,” he added.

“Now, in the very next few years, it will be decided where value creation will take place in the future, where innovation and prosperity will be at home in a climate-neutral world. I want Germany to be at the forefront.”

(Updates with opposition leader comments starting in 10th paragraph)

©2023 Bloomberg L.P.