Wales are officially guaranteed at least a place in the World Cup play-offs after Spain beat Greece 1-0.
Wales started their qualifying campaign knowing they had all but secured a play-off spot having won their Nations League group.
Spain's win in Athens formally seals it, even if Wales finish outside the top two in their qualifying group.
Wales Guaranteed World Cup, must finish second to have any chance of being seeded for March's play-offs.
Teams who reach the play-offs via the Nations League are unseeded and will be away in their semi-final to a seeded nation.
Wales can guarantee a top-two finish with four points from their final two qualifiers at home to Belarus on Saturday and Belgium on Tuesday.
Wales could theoretically qualify automatically but they are five points behind Group E leaders Belgium with two games to go.
They would need the world's number one ranked side to lose to Estonia as well as to Rob Page's men in Cardiff.
If Wales beat Belarus and lose to Belgium and the Czech Republic beat Estonia in their only remaining game - the play-off spot would go down to goal difference.
The Czechs are currently two ahead on that metric.
Even if Wales do finish outside the top two, they now have a play-off place guaranteed.
Spain's victory, secured by Pablo Sarabia's goal, means they need a point from their showdown with Sweden at the weekend to secure a place at next year's World Cup finals.
Sweden had led Group B going into the final two games but a shock 2-0 loss in Georgia earlier has handed Spain the advantage.