Manchester City scraped into the play-offs, Lille gatecrashed the top eight and Liverpool finished at the summit despite losing after a breathless final night of the new-look Champions League group phase.
City, champions two seasons ago, trailed to Raphael Onyedika’s goal for Club Brugge but second-half strikes from Mateo Kovacic and Savinho, either side of a Joel Ordonez own goal, saw them secure 22nd place in the 36-team table.
Incredibly, they will face either Bayern Munich or Real Madrid for a place in the last 16.
Lille qualified automatically in seventh, at the expense of AC Milan, with a thumping 6-1 win over Feyenoord.

The Dutch side scored three own goals – two from Gernot Trauner and another by David Hancko – while Osame Sahraoui, Jonathan David and Remy Cabella were also on target.
Morgan Rogers hit a hat-trick as Aston Villa secured eighth place with a 4-2 win over Celtic in the ‘Battle of Britain’.
Adam Idah cancelled out Rogers’ early brace with a quickfire double of his own, but Ollie Watkins put them back in front before Rogers completed his treble.
Barcelona missed out on finishing top after they were held to a 2-2 draw by Atalanta.
Goals from Lamine Yamal and Ronald Araujo were not enough for Barca to climb above Liverpool, with the visitors twice pegging them back through Ederson and Mario Pasalic.

A point meant Atalanta dipped out of the top eight, finishing ninth.
Liverpool lost their 100 per cent record in a 3-2 defeat by PSV Eindhoven.
Cody Gakpo and Harvey Elliott scored for the Reds but PSV won it through goals from Johan Bakayoko, Ismael Saibari and Ricardo Pepi.
Arsenal, Inter Milan, Atletico Madrid and Bayer Leverkusen made up the top eight.
Arsenal trailed to Arnaut Danjuma’s goal for Girona but hit back to win 2-1 thanks to Jorginho’s penalty and Ethan Nwaneri’s strike.
Lautaro Martinez’s hat-trick fired Inter to a 3-0 win over 10-man Monaco and Florian Wirtz and Nathan Tella helped Leverkusen to a 2-0 victory against Sparta Prague.