A last-gasp French defensive effort denied the Springboks in Paris on Friday, with France holding on for a 21-19 Nations Championship victory that ends South Africa's hopes of topping the southern hemisphere group and reaching the Twickenham final in a fortnight.

The Boks had entered the match having claimed maximum five-point hauls in each of their four previous Nations Championship fixtures, but the defeat — combined with failing to secure the bonus-point fourth try — has effectively ended their path to the final.

"We basically killed our dreams for the Nations Cup tonight with this performance and not getting the win and the fourth try," Rassie Erasmus said afterwards. "If we scored one more try, we would have got five points from this game and we would have been in the running" to reach Twickenham.

Erasmus was candid about where the match was lost, pointing to a combination of unforced errors and missed opportunities rather than any lack of chances. "They were on top of their game and we were a little bit off... one point here, one point there. Tonight, they took the opportunities when they got it and we didn't. Simple tries, we could have scored with one lost pass and then maybe one or two wrong decisions."

France came into the fixture as underdogs and were operating without their first-choice playmaker, with Romain Ntamack having been injured in last weekend's win over Fiji. That forced captain Antoine Dupont — nominally listed at fly-half for the first time in international rugby — into a characteristic hybrid role, with Maxime Lucu wearing the nine jersey while Dupont roamed across the pitch.

Dupont's fingerprints were on the decisive moments of the contest. He helped hold up Pieter-Steph du Toit over the line to deny the Boks a try and then won a crucial turnover in the closing stages to see the game out. He was named player of the match.

France head coach Fabien Galthié was in an expansive mood afterwards, joking that his captain had occupied virtually every position on the field. "He played at nine, a little bit of 10, and a good six. And he kicked well. A six who can kick as well — the complete package."

For Dupont, the win carried significance beyond the scoreboard. France had lost a Rugby World Cup quarter-final to South Africa by a single point three years ago, and he framed Friday's result as evidence of a mental shift within the squad. "In the head, it's important to win matches that count, that are tough, that go down to the last minute. It shows the mentality of the team that never gave in, even if we had it hard on our line."

Erasmus acknowledged there were few excuses available. "Them playing very well and we didn't play well, so I can't find a lot of excuses."