Scotland could make it through to the knock-out stages of Euro 2024 after drawing 1-1 with Switzerland in Cologne.
Scott McTominay opened the scoring before Xheridan Shaqiri equalised in the first-half as both sides took a point each from their second game.
The Tartan Army now march on to Stuttgart for the final game of the Group A section against Hungary on Sunday.
But are Steve Clarke’s side chances and what are the permutations that could see them seal a place in the next round?
Group A table
What if Scotland win against Hungary?
Scotland win and Switzerland lose: If Scotland beat Hungary on Sunday then they could potentially guarantee their place in the last-16 without having to worry about any other groups.
But they would need Germany to beat Switzerland while also making up a six or seven-goal swing in their favour to take second place in Group A.
But bearing in mind Scotland haven’t scored more than a single goal in any major tournament game since 1992, they might be relying on a strong performance from already qualified Germans to do the heavy-lifting.
So if, for example, Steve Clarke’s side win 3-0 and the hosts also win 3-0, then Scotland will take second place on goals-scored, likewise if Scotland win 4-0 and Germany win 2-0 or Scotland win 5-0 and Germany win 1-0.
However, in the event of Scotland winning 2-0 and Switzerland losing 4-0 then both sides would be equal on points, equal on goal-difference and equal on goals-scored.
That would mean second place in the group would be determined by who had the least amount of disciplinary points over the three games.
That wouldn’t be good news for Scotland who currently have the most disciplinary points in the tournament following four yellow cards and Ryan Porteous’s sending off against Germany which remains the only red card shown at Euro 2024.
If Scotland win 1-0 and Switzerland lose 5-0 then the Swiss would take second place on goals-scored.
Any seven goal swing would see Scotland finish second.
In any case, the team that finished third in that scenario would likely qualify as one of the best third-placed teams with four points but would need to wait until all the other groups are decided before that was confirmed.
Scotland win and Switzerland win or draw: If Scotland win and Switzerland get at least a point against Germany then Steve Clarke’s side will face an anxious wait to see if they have done enough to reach the knockout stages.
That would leave the national team in third and although any third place team with four points has qualified in the last two tournaments they would still need to wait for all the other groups to finish before that was confirmed.
The worst third placed team ever to reach the knockout stages was Ukraine in 2020 when the finished with three points and a goal-difference of -1.
The best third placed team to miss out on reaching the stage were Turkey and Finland who both finished on three points and a goal-difference of -2 in 2016 and 2020 respectively.
So while four points would likely be enough it would be a nervy three-day wait for the Tartan Army for that to be guaranteed.
What if Scotland draw with Hungary?
There is still a slight chance that a draw would be enough to send Scotland into the last-16 but again it would be heavily dependent on results from other groups going their way.
As stated above, the worst team to reach the knockouts from third place had three points and a -1 goal-difference.
A draw against Hungary would leave Scotland on two points with a goal difference of -4.
But as unlikely as it seems that would be enough, stranger things have happened and they wouldn’t be booking their flights home just yet with the way other groups have gone.
For example, if Spain and Italy both win their last group games against Croatia and Albania, as they are expected to do, then third place in that group would only have one point.
That would leave Scotland needing only one more team to finish with less than two points or have two points but a worse goal-difference than -4 to make history by getting out of the groups.
Likewise, if England and Slovenia win their games on Thursday night against Denmark and Serbia, with England winning 4-0, and then Denmark and Serbia drawing 0-0 in their final group game – then Denmark would be in third with two points and a goal-difference of -4 but with less goals than Scotland.
So as unfeasible as it may sound, there is still a slim possibility that they could scrape through with only two points.
What if Scotland lose to Hungary?
In the most straightforward outcome of the lot, if Scotland lose to Hungary then their Euro 2024 would officially be over on Sunday.
Defeat in Stuttgart would consign Steve Clarke’s men to a bottom place finish in Group A and put the Hungarians in third.
That would mean yet another major tournament had passed by with Scotland failing to get any further than the group stages.
Despite losing their opening two games Hungary have been highly competitive and have some talented players playing at a high-level, so nothing can be taken for granted.
But that’s not an outcome we want to dwell on too much as the nation looks to keep the optimism burning ahead of what promises to be an intriguing Sunday in Germany.
Follow STV News on WhatsApp
Scan the QR code on your mobile device for all the latest news from around the country