Borussia Dortmund were grateful to Barcelona as they booked their place in the last 16 of the Champions League with a 2-1 win over Slavia Prague.
Dortmund knew that a win would not be enough if Inter Milan also won, but the Italians were beaten 2-1 at home to Barça and dropped into the Europa League.
Jadon Sancho gave Dortmund the lead in the first half but there were some nerves in Germany when Soucek levelled just before the break.
However, Dortmund re-took the lead on the hour mark and spent the final 30 minutes closely following events in Milan.
Inter had two goals disallowed at 1-1 -- and one in the first half, too -- before Ansu Fati struck late on to earn Barça the win and get the party started in Dortmund.
2 - Borussia Dortmund: Bürki; Akanju, Hummels, Zagadou; Achraf (Balerdi, 83), Weigl, Brandt, Guerreiro; Sancho (Dahoud, 87), T.Hazard (Piszczek, 82); Reus.
1 - Slavia Praga: Kolar; Coufar, Kudela, Takacs, Boril; Soucek, Sevcik, Masopust (Traore, 72), Stanciu, Olayinka; Skoda (Yusuf, 64).
Goals: 1-0 (min 10, Sancho), 1-1 (min 43, Soucek), 2-1 (min 61, Brandt)