Switzerland are one of the sides yet to taste a defeat in the tournament and the likes of Xhaka, Shaqiri and their mates will have to punch above their weight if they want to pick one of the two available spots in the quarter finals.
How he must be gutted at missing out on a World Cup quest with the trophy there for the taking. However, it took a deflection off the foot of centre back Manuel Akanji and bounced up and into the net.
Sweden, who are thriving at their first tournament without retired star Zlatan Ibrahimovic, will face either England or Colombia in a July 7 quarter-final in Samara.
Sweden were given a late penalty when Michael Lang was sent off for bringing down Martin Olsson when through on goal, but after consulting VAR the foul was judged to be outside the area and a free-kick awarded instead. The referee initially awarded a penalty kick but later gave a free kick on the edge of the area after a video review.
Sweden actually had the better of the opening 45 minutes in terms of chances, but poor finishing - and one stunning stop from Swiss goalkeeper Yann Sommer to deny striker Marcus Berg - meant it remained goalless at the break.
There were chances and Sweden had a lot of them.
Switzerland twice went close to grabbing an equaliser, as Djourou's header dribbled agonisingly across the goal-line and substitute Haris Seferovic drew a late save from close range.
- Switzerland have still never won a World Cup knockout match; suffering elimination in all seven matches, including their last four round of 16 games (in 1994, 2006, 2014 and 2018).
The second half started in a similarly stultifying manner, with play bogged down in midfield and both sides looking to be inching inevitably towards extra time and a penalty shootout until Forsberg struck in the 66th minute to inject a flicker of life into the contest.