Delphine Cascarino starred as France scored three goals in six second-half minutes to stun Netherlands and finish top of Group D at Euro 2025.
The Dutch needed to win the game by at least three goals or rely on Wales upsetting England if they were to reach the quarter-finals.
With Sarina Wiegman's Lionesses coasting to victory, the 2017 champions were still in with a chance as they led 2-1 at half-time.
Victoria Pelova cancelled out Sandie Toletti's 22nd-minute opener for the French, before Netherlands took the lead through a calamitous own goal from Selma Bacha.
But their dreams were crushed by a fabulous France display after the restart that set up a meeting with Germany.
Cascarino was inspirational, providing a sublime through-ball to set up Marie-Antoinette Katoto for the leveller in the 61st minute, before netting twice in three minutes with a thunderous curling finish and a low drive after Katoto had struck both posts.
Sakina Karchaoui rubbed more salt in Netherlands' wounds when she converted from the penalty spot in added time after Kerstin Casparij brought down Melween N'Dongala.
The superb comeback completed France's perfect start to the tournament as they finished the group stage with three successive wins and retain hope of a first Euros title.
For the Netherlands, it marked a disappointing end to Andries Jonker's tenure as manager after the Dutch FA announced earlier this year they would not renew his contract.
England's assistant manager Arjan Veurink will replace Jonker when the Euros end.