(Bloomberg) — French Prime Minister Michel Barnier won a minor reprieve in his battle to pass a budget and remain in power as S&P Global Ratings reiterated its assessment of the country’s debt.

Most Read from Bloomberg

In a statement late Friday, S&P said the euro area’s second-biggest economy remains resilient despite political uncertainty. It cited the impact of labor market reforms under President Emmanuel Macron, high private sector savings, exports, and European Union membership.

The decision leaves France seven notches above junk on S&P’s scale at AA-, on a par with the Czech Republic and Slovenia.

“Rising political fragmentation is complicating fiscal governance, most notably by delaying the approval of a credible 2025 budget,” S&P wrote. “Nevertheless, our base-case expectation is that French authorities will move ahead with budgetary consolidation amounting to just under 1% of GDP next year as part of a medium-term plan to moderate high budgetary deficits.”

The decision provides some respite for France after the ratings firm downgraded it in May. Days after that, the country was plunged into a prolonged political crisis when Macron called snap elections. Both Fitch and Moody’s responded to the turmoil in October by putting negative outlooks on their ratings, while Scope made a downgrade.

Macron had aimed to bring clarity with the summer ballot, but the gamble backfired as the National Assembly split between three feuding blocs: the left, a diminished center which backs the president, and a strengthened National Rally led by Marine Le Pen.

At the same time, the government’s plans to repair public finances drifted further off course as tax revenues came in well below forecasts. When Macron appointed Barnier to lead a minority government in September, the budget deficit was predicted to reach 6.1% of economic output this year instead of shrinking to 4.4% as initially planned.

Barnier’s team is now trying to push through a 2025 budget to return the deficit to 5% next year, with €60 billion ($63.3 billion) of tax increases and spending cuts. However, the entire project has been cast into doubt as Le Pen’s lawmakers threaten to join leftists to bring down the government in a no-confidence motion as soon as next week.

The mounting political risks have put France’s bonds under renewed pressure over the past two weeks. The gap between French and German 10-year bond yields — a widely watched measure of risk — at one point hit 90 basis points, the highest level since 2012. That premium narrowed to 81 basis points in the final minutes of trading on Friday, as money markets priced in faster interest rate cuts from the European Central Bank.

Story Continues