If Portugal won, it would finish first.
Even without restful sleep, Ronaldo has been one of the most risky players in the tournament.
Police say they then blocked roads nearby, but the main avenue across the hotel was still open, which allowed Iran fans to keep their effort in smaller numbers. If Denmark lose, Australia could pip them on goal difference or goals scored if they beat Peru.
Iran coach Queiroz, who worked with him at Manchester United and with the national team, has called Portugal "Cristiano Rolando and a group of players who run after him".
Here, now, is a look at the various scenarios that may play out in the final round of Group play.
Were both the favourites to lose, and both by the same scoreline, then fair play records or even drawing of lots could be needed to determine who qualifies.More news: Turkey Opposition Candidate Blasts Erdogan at Massive Rally
More news: Trump renews sanctions on North Korea
More news: Oil prices rise ahead of OPEC, China tariffs loom over United States prices
If both win, they would tie, level on seven points and it would come down to goal difference, with that now level too.
Croatia have qualified and will be group winners with a point against Iceland.
The issue against Portugal is that they will have to emerge from their defensive shell and seek to win, as realistically victory will be needed for them to go through.
The Iranians already felt VAR had robbed them when a goal was overturned by the new review process for offside in a 1-0 loss to Spain. A point would be enough if Iceland do not beat Croatia.
Any points for the Canarinha would see them progress but Switzerland could leapfrog them with a win if Serbia can hold the South Americans.
Germany's sensational last-minute victor against Sweden has made this one of the most complex group situations - Mexico and South Korea could join either of those teams in the last 16.
Group E Only one thing is certain in Group E and that is Costa Rica, without a point, will be going home.
Group F suddenly looks a bit different after that late victor. If both win, it will come down to the goal difference between Germany, Sweden and Mexico. England now have one fewer. Should Senegal and Japan both draw with the same score, they will be split by fair play; Senegal have five yellow cards to Japan's three.