It goes by the opponent being ranked in the poll at the time of the game.
Whether, what matters for selection purposes, it's a Q1 or Q2 win, depends on how they do the rest of the season (they were NET 26 and probably won't go down much, if at all from this).