I have done a spreadsheet, fun fans.
If we draw at home to Qarabag and every other team in contention wins 2-0 (only one of Newcastle or PSG can win, no other teams in contention play each other) then we finish 9th behind Sporting on goals scored
If just one of the teams on 13 points don't win, a draw is enough for us to be top 8.