France had barely taken a kick off and coach Didier Deschamps took decisive action, removing Olivier Giroud and Dembele and throwing on Marcus Thuram and Randall Kolo Muani after 41 minutes.
It had little effect until they were given a lifeline in the 80th minute when Nicolas Otamendi tripped up Kolo Muani and Mbappé, previously unmarked, expertly converted the penalty.
A minute later he volleyed in a stunning equalizer after cleverly combining with Thuram, shocking the massive Argentine fans by conceding two quick-fire goals to his team for the third time in the tournament.
Argentina took the lead after a counter-attack when the indefatigable Lautaro Martinez fired a shot past Hugo Lloris and Messi pounced on the rebound, with technical confirming the ball had crossed the line.
However, the play was not over, as Mbappé took a shot on the arm of Montiel to give away another penalty in the 117th minute, which he calmly dispatched.