Hosts France finished top of Group A after a twice-taken penalty by Wendie Renard gave them a 1-0 win over Nigeria in an incident-packed finish in Rennes.
The initial penalty – awarded after a video assistant referee review for a foul on Viviane Asseyi – hit the post.
But keeper Chiamaka Nnadozie was ruled to have moved off her line early and Renard slotted the re-taken spot kick.
Nigeria still have a big chance of making the knockout stage as one of the best third-placed teams.
France, meanwhile, head to Le Havre to play a last-16 tie against, as yet, unknown opponents on 23 June.
This was an unconvincing display by Corinne Diacre’s side against a team ranked 38th in the world, with France guilty of wasteful finishing before late drama in Brittany.
Nigeria, who had produced a gritty defensive performance, were on course for a deserved point when a penalty was awarded after a VAR check following Ngozi Ebere’s foul on Asseyi.
Ebere, who had been booked in the first half, was sent off for a second yellow card before Renard’s first penalty hit a post. However, the officials adjudged 18-year-old Nnadozie had left her line early and Renard duly scored from the second attempt.
From 1 June, new laws came into force, including one that states the keeper must have one foot partly on the goalline (or above it if jumping) when the kick is taken.
It was heartbreak for Nigeria, who had produced a disciplined defensive performance to frustrate a partisan 28,267 crowd in Rennes.
France carved out plenty of chances but it was not until the 65th minute that they managed a first shot on target, Amel Majri shooting straight at the keeper.
|Teams into last 16 of the Women’s World Cup so far|