It will be Villarreal who progress through to the Champions League knockout stages alongside Manchester United, who have already won the group.
Villarreal beat Atalanta 3-2 on Thursday night to end their hopes of making the Champions League last 16 for a third year in a row.
It was goals from Arnaut Danjuma and Etienne Capoue that sealed the deal for the LaLiga side during their rearranged fixture.