Radja Nainggolan’s fine shot after 84 minutes sent Belgium into the knockout stages and a game against Hungary as they finished second in the standings, level on six points with group winners Italy.
The Swedes ended bottom on one point and Ibrahimovic’s bold promise that he would never finish with a disappointment proved to be mistaken.
He tried in vain to inspire his team and had a second-half effort ruled out for offside but Belgium, without ever producing their most fluent football, had enough quality to deal with Sweden’s sporadic attacks and create opportunities of their own.
“Zlatan has done a lot of important things in his career and would have wanted to go further here,” Belgium captain and man-of-the-match Eden Hazard told reporters.
“It was a difficult match, complicated for our defenders. In the first half we had some possession and created chances. Nainggolan scored an important goal and from then on we had to manage the game.”
Sweden started brightly and Marcus Berg’s fierce snap shot was parried away by Belgium goalkeeper Thibaut Courtois.
Belgium responded with a surging run by midfielder Kevin de Bruyne that set up Romelu Lukaku for a shot just wide and a mazy dribble across the edge of the area by Hazard ended with a De Bruyne strike on goal.
Ibrahimovic sprung into life with a shot just past the post but it was a rare attacking foray by Sweden who were pushed back deep by the strong-running Belgian midfield.
Ibrahimovic threw the ball away in frustration as the Belgian players celebrated and Sweden’s talismanic captain cut a forlorn figure after the final whistle as he slowly walked over to applaud his team’s yellow-clad fans.
“I’m very disappointed,” Sweden coach Erik Hamren said.
“We were talking before the game about the honour of representing Sweden and of being here but I couldn’t have asked for much more from my players. I’m proud of them, even though we lost.”
Meanwhile, Ireland reached the knockout phase at a European Championship for the first time when Robbie Brady’s late goal earned them a 1-0 victory against Group E winners Italy on Wednesday.
Brady made a brilliant run into the box and headed home Wes Hoolahan’s right-wing cross to make sure Ireland qualified as one of the four best third-placed teams with four points. They will face hosts France in the last 16.
Italy made eight changes and it showed at the Stade Pierre Mauroy as the Azzurri looked a touch disjointed, although they had a huge opportunity 12 minutes from time when substitute Lorenzo Insigne’s perfectly curled shot hit the post.
We value local independent journalism. We hope you do too.
InDaily provides valuable, local independent journalism in South Australia. As a news organisation it offers an alternative to The Advertiser, a different voice and a closer look at what is happening in our city and state for free. Any contribution to help fund our work is appreciated. Please click below to become an InDaily supporter.