Scotland's Under-21s have been drawn against their counterparts from Croatia in the play-offs for the European Championships.
The draw was seeded and Scotland coach Reiner Bonhof already knew that they would face either the Croatians, the Czech Republic or Switzerland.
Scotland were last out of the hat in a section for the seventh to tenth best group winners.
The Scots, who topped their group after an amazing late fightback to beat Lithuania 3-2 in Perth, will play the first leg of their play-off in Croatia.
The second leg will be played at Hibernian's Easter Road Stadium in Edinburgh.
The Croatians topped a group including Bulgaria and Belgium and hammered England 3-0 at Upton Park in a friendly on 19 August.
Germany, who finished runners-up to Scotland in Group 5, were drawn against Turkey.
Hosts for the finals themselves will be chosen from interested parties among the eight qualifiers, with the SFA keen to have the event in Scotland.
Germany v Turkey
Portugal v France
Denmark v Italy
Serbia-Montenegro v Norway
Belarus v Poland
Sweden v Spain
Switzerland v Czech Republic
Croatia v Scotland
First legs to be played on 15 or 16 November, with second legs on 18 or 19 November.