Lionel Messi scored twice as Barcelona won 2-0 at Celtic to seal qualification for the Champions League last 16 as Group C winners.
Barca’s victory in Glasgow – coupled with Manchester City’s draw against Borussia Monchengladbach – means they cannot be caught with a game still to play.
The visitors made five changes after their poor draw against Malaga last time out, with Messi returning from illness and strike partner, Luis Suarez back following suspension.
It was a much-needed result for Barca, who romped the reverse fixture 7-0 at Camp Nou, but had only secured wins in two of their previous five games in all competitions.
Celtic were more competitive this time around, but are now guaranteed to finish bottom and their European hopes are over for 2016-17. They sit three points adrift of Gladbach and have a worse head-to-head record.
The Scottish champions, who came through two rounds of qualifiers and a play-off to reach the group stage, visit Manchester City on 6 December, when Barcelona host the German side.
City and Barca have qualified for the last 16, with Gladbach dropping into the Europa League in the New Year.