Logic pointed to nothing other than a Wales win – but logic does not often apply to Wales at the World Cup.
“France played exceptionally well and they have made a lot of progress over the last five months.
“I definitely went through a lot of emotions today but coming in at half-time and getting some clear messages to the players about what we were going to do in the second half [was important].
“I am proud of the players and how we hung in there.”
Those players were not going to allow Gatland – arguably Wales’ greatest coach – to leave on such a flat note.
Having trailed 12-0 early on, Wales were 19-10 down at half-time but, despite continuing to play poorly by their own recent high standards, they found a way to win.
This is what Wales do under Gatland.
They were 16-0 down away against France at half-time in their opening Six Nations fixture in February, and yet they fought back to win 24-19 and set the ball rolling for a third Grand Slam of the Gatland era.
In Paris that evening, Gatland said his team had “forgotten how to lose”.
That fortitude was evident in another comeback victory during that campaign at home to England, and it has been there for the world to see in Japan as Wales withstood a fierce Australian revival in Tokyo and then overcame an explosive start from Fiji to prevail in Oita.
They had to delve into that deep well of resolve once more upon their return to Oita to face France.
Wales were not once in the lead until Dan Biggar’s match-winning conversion from Ross Moriarty’s try in the 75th minute, itself a play within a play, a tale of redemption for Moriarty, whose first-half sin-binning had cost his side seven points.
Even if their form had deserted them, Wales never lacked belief.
They stuck to their task unerringly. Although France had not played for two weeks, they were tiring after Vahaamahina’s red card.
By contrast, Wales, who pride themselves on being one of the fittest teams in the world, seemed to get stronger as time wore on.
“We’ve prepared for this. We’ve been to some dark places in the preparation for these moments and games,” captain Alun Wyn Jones said.
“The weeks and days do feel a little bit longer obviously because of the magnitude of the occasion coming up.
“Physically, this is what we’ve prepared for and we’re ready to go for the next one.”
A World Cup a decade in the making
Wales have been planning for this World Cup for years, and those preparations have been particularly focused over the past 18 months.
Last year’s summer tour of the United States and Argentina helped build strength in depth, with debuts for players such as Wainwright, man of the match against France and now a first-team regular.
Then there was the clean sweep of last autumn’s Tests – including victories over Australia and South Africa – and this year’s Six Nations Grand Slam, all of which contributed to a record winning run of 14 matches.
Wales’ players then started convening for World Cup training as far back as May, before embarking on gruelling training camps at altitude in the Swiss Alps and then in the searing heat of Turkey.
The planning has been meticulous, a World Cup years in the making.
When Jones was asked about the extent of Welsh preparations, he said Gatland had probably been mapping out this campaign for the past 10 years.
Now that decade boils down to two matches: a semi-final followed by what everyone involved hopes will be a final, rather than a third-place play-off.
“We’re excited about being where we are. We’re in a semi-final of a World Cup,” Gatland said.
“Alun Wyn has been saying that we have 240 minutes to do something you’ll remember for the rest of your life.
“We’re down to 160 now, if you can’t get excited about that, nothing will excite you.”