By Alasdair Lamont
BBC Scotland at Hampden
Hernandez admitted that Spain had to work hard for the win at Hampden
Spain winger Pablo Hernandez admitted Scotland had the world champions on the ropes for a period in the second half of Tuesday night's Euro 2012 qualifier.
The substitute helped secure a 3-2 win but thought at one stage the visitors might have to settle for a draw.
And he felt Scotland's comeback was down to their own good play and not Spain taking their foot off the pedal.
"We didn't relax at 2-0, Scotland responded quickly and very well," he told BBC Scotland.
The Valencia star added: "With that goal (Steven Naismith's) they started to get on top, to dictate the game and it was difficult for us.
"At two-all we knew it was going to be difficult and maybe we'd have taken a point, but there was still quite a while to go.
"One of the characteristics of this Spain team is not to stop attacking until the final moment. We knew we'd get more chances and luckily we took one.
"But it took a lot for us to win. We knew it would be a difficult game and it was obvious for everyone to see that Scotland can be dangerous."
Spain manager Vicente del Bosque paid tribute to Scotland for their valiant performance and also denied his side had been complacent at 2-0.
"It was more down to the character and fighting spirit of Scotland, they fought to the end of the game but we managed to convert our chances," he said.
"We can be satisfied with our performance, we varied our play and made chances.
"There was no point that we thought we would lose but I knew we were in a very tough game.
"There is no reason to think it is all over for Scotland but our closest rivals at the moment are the Czech Republic.
"We can relax a little now and put the competition to sleep until March, but the Czech Republic are our main rivals after they prevailed against Liechtenstein."