Scott McTominay's 'goa'l for Scotland against Spain was disallowed for an offside but referee Serder Gozubuyuk made an error by signalling for a foul.
This is according to a UEFA insider who has confirmed that the whistler made a mistake when dealing with the decision.
McTominay thought he had given Scotland the lead in Seville before celebrations were cut short after the Dutch referee was asked to go and look at the monitor to make a decision.
UEFA initially filtered through that the goal was disallowed for a foul by Jack Hendry on Spain goalkeeper Unai Simon before the reasoning was changed to an offside.
Speaking to the Scottish Sun, the insider said: "The referee’s decision at the free kick was for offside. After the on-field review, the decision was offside as the attacking player (Jack Hendry) was touching and standing in front of the goalkeeper.
"Therefore, according to Law 11 for Offside, the attacker impacted on his opponent - the goalkeeper - playing or attempting to play the ball.”
Spain went on to win the fixture 2-0 thanks to goals from Alvaro Morata and Oihan Sanchet.
Meanwhile, Scotland boss Steve Clarke has provided an update on Andy Robertson after he sustained a shoulder injury against Spain.
Robertson was forced off late in the first half following a challenge from the Spain goalkeeper Unai Simon as he appeared to suffer a dislocation as he left the pitch with his arm wrapped in his shirt as a makeshift sling.
"It was an immediate decision to take him off, he’ll go back to his club, he’ll be assessed," Clarke said.
"Obviously he’s hurt his shoulder. We’ll have a look, obviously go back to his club. Always seems to happens when you lose one player in a position: we lose Kieran (Tierney) on the left side and then Andy’s picked up a shoulder injury.
"We’ll see how it is, see how it settles down and hopefully he’s good for his club as quickly as possible and he’s ready to help us in November."