So we are in the final round of the group stage.
Let's assess what will happen in Group A.
If Spain wins: Spain and Greece advance.
If Portugal wins: Portugal advances and... (Spain's fate relies on the outcome of the other match)
if Greece wins or ties, Greece advances;
if Greece loses to Russia, the runner-up is determined by goal difference.
If Spain and Portugal tie: Spain and Greece advance
-> because Portugal will be level on points with Greece at best (i.e. if Greece loses to Russia), and Greece had already beaten Portugal.
If Portugal loses: Spain and Greece advance.
Correct any mistakes if you find any.
