(Bloomberg) -- Emmanuel Macron has just lost the most senior member of his cabinet, but that’s no bad thing.

The French leader has a Group of Seven summit to host in late August and on the domestic front, a reform of the pensions system to start. He had to put the latest scandal behind him before the summer break.

Energy Minister Francois de Rugy resigned Tuesday, saying he couldn’t carry out his duties while trying to defend himself from allegations that he used tax payers’ money to pay for lavish dinners and the costly refurbishment of his private residence.

The 45-year-old, an early Macron backer, was in charge of shaping environmental policy at a time when climate change has become one of Macron’s priorities on the world stage. But keeping a scandal-tainted minister on the job was becoming a liability.

After Bastille Day celebrations over the weekend, the president moved to stem outrage during a Monday news conference. He said that if an investigation into de Rugy’s lifestyle concluded he took advantage of public funds, he’d be fired.

About 18 hours later, De Rugy stepped down.

Lessons Learned

It appears lessons were learned from a drawn out saga over disgraced bodyguard Alexandre Benalla’s last year. Then, Macron, along with his staff, covered up Benalla’s beating of May Day protesters for weeks and later defended him before firing him in July.

Macron’s approval rating plummeted and the “Benalla affair” fueled negative sentiment about the French leader’s governing style that evolved into what become the Yellow Vests movement.

This time around, the worst Macron will endure is likely to be a headache over finding a suitable replacement.

“He was hoping for a quiet summer -- without another saga -- and an intense September with reforms,” said Celine Bracq, a pollster at Odoxa. “But he’ll have to deal with the Rugy affair, and change ministers again. He should be OK, but he could really have done without it.”

Macron has gained on several fronts since May. His approval rating rose 6 to 10 points in opinion polls. He’s benefited from a reasonably blossoming economy, improved jobs figures and a surge in French industrial output.

‘Choosing Carefully’

In photos that went viral on social media, de Rugy was shown feasting on lobsters and downing champagne in the gilded reception halls of his public offices. Online investigative news service Mediapart revealed he spent $86,000 renovating his apartment and earlier, as the president of the lower chamber of Parliament he and his wife hosted about a dozen lavish dinners.

His replacement will need to seek new ways to raise funds after planned levies on gasoline and diesel were dropped amid violent street protests that erupted across the country at the end of last year. The minister will also be tasked with handling plans to reduce a tax break on fuel used by truck transporters.

“France’s voters want Macron to spend much more time and energy on climate and environment issues; they also expect whoever gets the energy and environment minister job to show some moderation and exemplary behavior,” Bracq, the pollster, said. “The new minister will have to be chosen carefully.”

To contact the reporter on this story: Helene Fouquet in Paris at hfouquet1@bloomberg.net

To contact the editors responsible for this story: Ben Sills at bsills@bloomberg.net, Caroline Alexander, Flavia Krause-Jackson

©2019 Bloomberg L.P.