Olivier Giroud bagged a double as he showed his worth for France again to help the world champion beat Sweden 4-2 at home in the Nations League on Tuesday.
Giroud scored either side of Benjamin Pavard's first-half strike as Les Bleus recovered from Viktor Claesson's early opener.
Sweden, which reduced the deficit through Robin Quaison before France's Kingsley Coman wrapped it up in stoppage time, was relegated into League B.
Didier Deschamps' France side, which had already qualified for the Final Four, topped Group 3 with 16 points from six games, three points ahead of Portugal, which beat third-placed Croatia 3-2 away.
Sweden finished bottom on three points, behind Croatia on goal difference.
Giroud, who has only made three Premier League appearances for Chelsea this season, has now netted 44 international goals to move seven shy of Thierry Henry's all-time France scoring record.
Claesson put the visitor ahead after four minutes when his shot from inside the box took a deflection off Raphael Varane and wrong-footed Hugo Lloris.
Les Bleus hit back in the 16th minute, with Giroud finding the back of the net with a low shot on the turn from Marcus Thuram's cutback.
Pavard gave France the lead nine minutes before the break with a low, driven volley after Thuram had drawn the defence towards him with a dazzling run into the box.
Giroud, who has been warned by Deschamps that he needs to sort out his club situation in order to stay in the squad, put the result beyond doubt with a header from second-half substitute Kylian Mbappe in the 59th minute.
Quaison pulled one back two minutes from full-time but it was too little, too late for Sweden, which conceded another from late substitute Coman at the end of a counter attack five minutes into added time.
- AUS vs NZ, 1st T20I: Australia registers its third-highest successful run chase, beats New Zealand in last-ball thriller
- Delhi Capitals WPL 2024 team analysis: Squad depth, players to watch out, fixtures
- Coach Thomas Tuchel to leave Bayern Munich at the end of the season
- Dortmund fumes over Eindhoven penalty award in Champions League tie
- Yashasvi Jaiswal breaks into top-20 of ICC Test Rankings