France took first place in Group A after Wendie Renard lost to Nigeria twice after a penalty shoot-out in an eventful Women's World Cup match.
The initial penalty imposed on a Viviane Asseyi foul after a video assistant review hit the post.
But keeper Chiamaka Nnadozie had to leave the line prematurely and Renard converted the penalty again.
Despite a 1-0 defeat, Nigeria still have a great chance of reaching the last 16 as one of the best third-placed players.
Group winners France meet on 23 June in Le Havre on yet unknown opponents.
This was an unconvincing performance by Corinne Diacre's side against a 38th-ranked team in the world, with France guilty of the lavish conclusion to the late drama in Rennes.
The French boss praised Renard, however, with the following words: "I want to praise the courage shown by Wendie.
"She had the tenacity to return to the penalty spot and carry out this kick."
Nigeria boss Thomas Dennerby previously described his players as "heroes" when asked about the double penalty. He added, "If I'm honest, they'll probably send me home, so I better not say anything.
"Of course I am disappointed with the result, France is a really good team and does not need any support to win games."
"The girls have fought so well, they have followed the game plan and it is being destroyed by people we are not so happy with."
Nigeria, which had shown a defensive performance, was on the way to a deserved point when a penalty was imposed following a VAR check following Ngozi Ebere's foul on Asseyi.
Ebere, who was booked in the first half, was sent off for a second yellow card before Renard's first penalty hit a post. The 18-year-old Nnadozie had left her line early, and Renard duly hit from the second attempt.
It continued Renard's eventful World Cup – the Lyoner now has three goals in this tournament and a catastrophic own goal.
"When that happened, players asked me if I wanted to try again, and I decided I'd take the penalty again," Renard said.
"It was very good for the team and also for me."
As of June 1, new laws have come into force, including one stating that the goalkeeper must have one foot partially on the goal line (or over it if he jumps) when the kick is performed.
It was a heartbreak for Nigeria, which had provided a disciplined defensive effort to frustrate 28,267 partisans in Rennes.
France had plenty of chances, but only in the 65th Minute, he managed to score a first goal. Amel Majri shot directly at the goalkeeper.
When asked if she was satisfied with her team's efforts, Diacre added, "No, I think I'll always ask my players to go one step further.
"Yes, we could secure this third victory, although it was not easy for us, I think because it was so difficult, the win is all the better."
Nigeria has to wait to see if it's the best third place. In 1999 you only qualified once for the knockout round.
|Teams in the last 16 Women's World Cup so far|
|Sweden||United States of America|
Perfect three – the statistics
- For the first time ever, France have won all three group matches at a Women's World Cup.
- Nigerian Ngozi Ebere is the second player to have been sent off at the 2019 Women's World Cup after South African Nothando Vilakazi vs. Spain.
- The Red Card was Nigeria's third place at the Women's World Cup – the second-highest in tournament history with the United States.
- Nigeria failed at the shot on goal.