The win was not enough as Juventus beat already qualified Shakhtar Donetsk to book their last 16 place.
Also qualifying were Celtic, who beat Spartak Moscow 2-1, whilst Benfica drew with Barcelona 0-0 to miss out. Galatasaray also advanced after a 2-1 win over Braga.