Dundee United will face either Riga or Gil Vicente in the Europa Conference League playoff - if they beat AZ Alkmaar. Jack Ross' side will kick off their continental campaign later this week with a difficult tie against the Eredivisie club.
But if they prevail over the two legs, they will be rewarded with a trip to either Latvia or Portugal for a chance to qualify for the tournament proper well within their grasp. The draw for the playoffs was made ahead of time on Tuesday afternoon and would be the final hurdle to United securing a place in the lucrative group stage. Dates for the fixtures are set to be confirmed by UEFA in due course.
Elsewhere for Scottish Premiership clubs, Rangers will face either PSV Eindhoven or Monaco in the Champions League playoffs if they beat Belgian outfit Union Saint-Gilloise, while Hearts have drawn the winners of Linfield versus Zurich in the Europa League playoff.
Gil Vicente qualified for European competition for the first ever time in their history last season. An impressive fifth place finish in the Primeira Liga saw them into the Europa Conference League.
Riga saw off Ruzomberok of Slovakia in the first qualifying round. They made it into Europe after finishing fourth in the Latvian Higher league last season. This campaign, they were well placed in third but are ten points off the pace from leaders Valmieras.
Gil Vicente facts
FORMED: 1924.
STADIUM: Estádio Cidade de Barcelos (12,504).
HONOURS: Portuguese cup runners-up once.
MANAGER: Ivo Vieira. Already managed prominent Portuguese clubs Maritimo, Estoril and Vitoria Guimaraes at the age of 46. Took charge at Gil Vicente last month.
STAR MAN: Kanya Fujimoto. Japanese midfielder who arrived from Tokyo Verdy after a successful loan spell. Has made 58 starts in the Portuguese top flight.
INTERESTING FACT: They are named after a 15th century playwright of the same name who has been called the 'Portuguese Plautus.'
Riga facts
FORMED: 2014.
STADIUM: Skonto Stadium (8,087).
HONOURS: Latvian league winners three times, Latvian cup winners once.
MANAGER: Sandro Perkovic. Croatian coach appointed a month ago. Previously managed Cypriot club Akritas and was a coach at Dinamo Zagreb before moving to the Baltics.
STAR MAN: Wesley Nata. Brazilian winger who secured a move to Riga two years ago after a spell in Bulgaria and is regarded as a key player.
INTERESTING FACT: They have a very decent Euro record for such a young club. They have defeated FC Copenhagen, CSKA Sofia and HJK Helsinki and have won two rounds already this season
READ NEXT: