Amsterdam (AFP) - Real Madrid needed a late winner from Marco Asensio and VAR's debut in the Champions League to beat a spirited Ajax 2-1 in the first leg of the last 16 on Wednesday.
Ajax have not beaten Madrid in 24 years and thought they were on their way at the Johan Cruyff Arena when Nicolas Tagliafico headed home after a Thibaut Courtois error.
But referee Damir Skomina judged Dusan Tadic to be offside upon review and Madrid showed no pity on their youthful opponents, Karim Benzema and Asensio scoring two precious away goals in the second half.
Hakim Ziyech's equaliser at least keeps Ajax in touch heading into the second leg at the Santiago Bernabeu but Asensio's 87th-minute winner was a sucker-punch in a match the Dutch team had largely dominated.
Their ruled out opener will only add to the sense of what might have been and it was no surprise to see a cluster of red and white shirts surrounding the officials at the final whistle.
VAR has been introduced to the Champions League for the first time in this year's knock-out stages and leaflets were distributed to the media before kick-off, one of the points explaining how reviews should only be for "clear and obvious mistakes".
UEFA later tweeted Ajax's goal was "correctly overturned for offside" but Tadic's intervention on Courtois was minimal and it seemed generous to deem it enough for a call to be reversed.
"We can't see the replay," Madrid coach Santiago Solari said. "We have to be confident in what the referees say."
"I saw it," said Ajax's Erik ten Hag. "In my opinion it was not offside and I don't see it as a foul on the goalkeeper either."
Still, there was more than an hour to play and Ajax were twice too easily undone on the counter-attack. Frenkie de Jong, who will join Barcelona in the summer, and Matthijs de Ligt, who could follow him, were each dealt a lesson in the ruthlessness of top European football.
It was put to Solari afterwards that Ajax had deserved more.
"That is your opinion -- we had to work, to suffer, to create," he said. "You have to survive the pressure sometimes. These things are part of the game too."
Gareth Bale was reinstated to the Madrid starting line-up but there was no place for Marcelo, who missed his first Champions League knock-out game in four years.
- Tadic hits post -
Ajax fans had put on an impressive display of fireworks late on Tuesday night outside the Spanish team's hotel and perhaps it paid off because a drowsy Madrid were run ragged in the first half.
Tadic had the first chance as Sergio Reguilon's poor pass was headed into his path, a sliced finish beating Courtois' right hand but not the post.
The best opportunity fell to the excellent Donny van de Beek, after the ball was shifted along the line like a rugby move until the midfielder was left spare six yards out. Courtois saved with his legs.
Hero one minute, villain the next, Courtois then fumbled De Ligt's header from the corner and Tagliafico headed in. There was no protest from Courtois but Skomina pointed to his earpiece. Tadic, who had brushed past the Belgian as the header looped in, was ruled offside.
The crowd jeered at half-time and Benzema compounded their misery soon after. It was a goal to sum up Madrid's resurgence in recent weeks as Luka Modric flicked a ball for Vinicius Junior to race after. He tore past one, jinked inside two more and teed up Benzema, who found the top corner.
Ajax refused to fade. David Neres and Tadic both went close before Neres skipped free down the left and crossed for Ziyech to slide in the equaliser. Madrid wanted a free-kick for a foul on Lucas Vazquez in the build-up but this time the goal stood.
A draw might have appeased the home fans but they were denied even that as a slick move through midfield freed Dani Carvajal down the right. His curving cross found Asensio, who could not miss.