Bayern Munich will finish second in Champions League Group D after a surprise 3-2 defeat by FC Rostov.
The Russian Premier League team earned their first victory in the competition’s history on a night temperatures dropped below -4C.
They also became the first Russian team to beat the Bundesliga giants in Champions League history.
Bayern, five-time winners, will finish behind Atletico Madrid, and could face Leicester City in the last 16.
With one round of matches remaining, 12 teams have already qualified, meaning four places are still up for grabs.
Sevilla, Lyon, Porto, FC Copenhagen, Benfica, Napoli and Besiktas are vying for those places in the knockout stage.