The least a president might expect, when juggling a war in Europe with an election at home, is a bounce in the polls.
But Emmanuel Macron has discovered that all the energy he spent dealing with Vladimir Putin's war in Ukraine has been of little help in France's unpredictable vote.
"Nothing is impossible," President Macron has warned, as polls suggest his far-right rival is closer than ever before to winning the presidency.
A month ago, Marine Le Pen was trailing President Macron by 10 points and fighting for a place in the second round against him.
Now she's seen as the clear favourite to challenge him for the presidency after Sunday's first round. If she does make it through to the 24 April run-off, opinion polls suggest for the first time that a Le Pen victory is within the margin of error.
For this, the National Rally leader can thank two men once seen as dangerous for her campaign: her far-right rival, Eric Zemmour, and Russian President Vladimir Putin, now an international pariah.
"I would say that [Zemmour's] campaign was destroyed by Ukraine," said Gilles Paris, an election specialist for French daily Le Monde.
"His pro-Russian attitude was a burden, while Marine Le Pen was smart enough to pivot to a more moderate point of view. She was ready to accept refugees [immediately], while it took two days for Zemmour to understand that these refugees were well accepted in France."
Le Pen has since picked up a good number of Zemmour's votes.
President Macron lost most of his "war bounce" two weeks ago, and has also faced criticism from EU partner, Poland, for talking so regularly to Russia's president.
His frustration burst through when he was asked about it on the campaign trail this week, surrounded by crowds in the Brittany village of Spézet.
"I'm not the one who is sympathetic to Putin," he snapped. "I'm not the one who looks for funding from Russia. That's other candidates.
"I take full responsibility for having spoken to the president of Russia, in the name of France... I was never naive, unlike others. I was never complicit, unlike others."
Putin publicly backed Le Pen during the last presidential race, and her National Rally party is currently repaying a loan from a Russian bank. But she has deflected discussion of the war in Ukraine by focusing on her core campaign topic: rising prices at home.
And as the war has added to price pressures on petrol and basic goods, the Le Pen electoral strategy is continuing to pay off.
Melina, a care assistant who came to watch President Macron's rally in Spézet this week, said the economic situation had changed her politics.
"There are a lot of French people here who work but are forced to sleep in their cars because they cannot afford an apartment and nobody helps them," she said. "It's a disgrace. I used to vote for the left but I could very well vote on the right this time."
At a boulangerie down the road, Sophie was serving a long queue of lunch customers.
She voted for Macron five years ago, because she was "scared" to vote for Marine Le Pen. But she's not scared any more: Sophie is so sure Le Pen will win, she has made bets with her customers on the outcome of the election.
"She has evolved," Sophie told me. "She learns from her mistakes. She's more human, and we understand her when she talks."
France's far-right leader has worked hard over the past five years to win votes like Sophie's, softening her rhetoric and presenting a more moderate, "electable" image.
She still promises strict limits on immigration, a "French-first" policy when it comes to housing, jobs and benefits, and a ban on the Muslim headscarf in public places. But she has also dropped her plan to leave the EU, and has emphasised her personal life as a single mother who breeds kittens.
It has helped win over some traditional right-wing voters who once saw her as too extreme, and her party tainted with the toxic attitudes of its past.
But here again, said Gilles Paris, it was Zemmour's influence on French politics that has given her a boost: "He was a kind of a 'useful fool' [for Marine Le Pen] because he was able to bulldoze the fence that separated the majority of the right from the far-right."
As a former journalist for a right-wing broadsheet, Zemmour was acceptable to voters on the traditional right, despite policies that were often far to the right of Le Pen's.
Once traditional right-wing voters had backed him, the theory goes, it was easier for them to switch their support to Le Pen.
Le Pen has certainly gained from her far-right rival's demise. Less than two months ago, they were neck and neck; now polls put them 15 points apart.
For President Macron, that makes it all the more urgent to secure votes from the left as well as from the centre right. But five years on from his promise to combine both the centre left and centre right in a new kind of politics, many left-wing voters are disillusioned with a man they've nicknamed "president of the rich".
Macron has made waves with his promise to raise the retirement age to 65, and link teachers' pay to their efforts at work.
He is still tipped to win this election, and poll predictions have left Le Pen disappointed on election day before. But Hervé Berville, an MP with the ruling Republic on the Move party, says there is genuine concern this time.
"Look at what happened in the last six years," he told me. "Brexit, Trump - we're not trying to scare people, we're just trying to tell them the election matters, voting matters."
Five years ago, it was Macron who defied expectations, and changed French politics. "Nothing is impossible," says the 44-year-old president. He, more than anyone, should know.
-BBC