Scotland suffered their first Euro 2024 qualifying defeat with a 2-0 loss in Spain but their qualification hopes remain alive.
However, wins for Albania and Turkey damaged the Republic of Ireland's already slim chances of making a play-off.
The Scots had won their first five Group A qualifiers including a 2-0 win over the Spanish at Hampden Park in March and needed to take something from the return game in Seville or Norway fail to beat Cyprus, to qualify on the night.
In a stifling warm evening, the Scots survived some heavy first-half pressure to go in at the break goalless before Scott McTominay, who scored both goals against Spain in Glasgow, fired in a wonderful free-kick in the 59th minute only to see it ruled out after a VAR check for a Jack Hendry infringement.
Alvaro Morata headed in after 73 minutes and substitute Oihan Sancet and Scotland defender Ryan Porteous clashed together for the second in the 86th minute and with Norway beating Cyprus, Steve Clarke's men move on to the second October fixture.
Scotland face France in a friendly in Lille next Tuesday but Spain face Norway two days earlier and if the Norwegians drop points, Scotland’s place in Germany will be secured while the Scots also have Georgia away and Norway at home in November.

Erling Haaland scored two goals for Norway as they kept alive their hopes with a 4-0 victory over Cyprus.
The Manchester City striker netted twice in quick succession in the second half after Alexander Sorloth had scored a first-half opener. Fredrik Aursnes scored a late fourth.
Albania took control of Group E thanks to a 3-0 win over 10-man Czech Republic.
Jasir Asani put the hosts ahead inside 10 minutes and the Czechs were a man down before half-time after Mojmir Chytil was sent off. Taulant Seferi then scored twice in the second half.
Poland are second in the group after a 2-0 win over the Faroe Islands. Sebastian Szymanski struck early and Horour Askham saw red for the Faroes before Adam Buksa netted a second.
Surprise group leaders Albania now need only a point from games against the Faroes and Moldova to guarantee qualification.
Turkey are top of Group D after beating World Cup semi-finalists Croatia 1-0, Baris Alper Yilmaz scoring the only goal.
Latvia also claimed their first points with a 2-0 victory over Armenia.
If Turkey beat Latvia at home on Sunday then they will have qualified. Wales would need to win their three remaining matches, including games against Croatia and Turkey, which could result in a three-way tie that would eliminate the Croats.
In Group I, Belarus and Romania played out a goalless draw while Kosovo defeated Andorra 3-0.
Albania and Turkey's likely qualification is bad news for Ireland's play-off prospects. Stephen Kenny's side will miss out if more than two of the teams ranked lower than them qualify automatically.
Ireland's best hope now appears to be that Israel will catch the Romanians and that Iceland or Bosnia and Herzegovina will bridge the seven-point gap to second-place Slovakia over the four rounds remaining in Group J.
Watch Republic of Ireland v Greece in Euro 2024 qualifying on Friday from 7pm on RTÉ2 and RTÉ Player, follow a live blog on RTÉ.ie/Sport and the RTÉ News app and listen to live radio commentary on 2fm's Game On