That means that even if Liverpool finish second in their group on Wednesday, they will still not play against one of the four Premier League group winners in the last 16.
Something will have to give, with City chasing a record 14th straight Prem win which would take them clear past Arsenal and Chelsea's back-to-back winning runs from 2001/02 and 2016/17 respectively.
Juventus will qualify in second with victory at Olympiacos or if Sporting fail to win. That means Chelsea can not draw Roma, Manchester United can not be drawn to play against Basel and Tottenham will not be up against their Group H opponents Real Madrid.
It was the first Leg 3-0 defeat at the Parc des Princes that signaled the end of Carlo Ancelotti's time in charge at Bayern. Celtic and Anderlecht can both still finish third and qualify for the Europa League. Napoli, who lost their unbeaten start to the Italian season with a 1-0 defeat by Juventus on Friday, are looking to reach the last 16 for only the third time. To qualify in first place, Liverpool need a win or a draw if Sevilla fail to win at NK Maribor. They have claimed maximum points from five matches so far and could be worth siding with to beat Bayern Munich away.
A day later, Liverpool can secure top spot in Group E by beating Spartak.
Leipzig, who are level on points with Porto, host group victor Besiktas Wednesday and will only go through if they secure more points than the Portuguese team. Basel will also qualify if both sides lose or draw their matches as they have a superior head-to-head record against the Russians.