Spain boss Luis Enrique was left to rue an "undeserved" 3-2 defeat to Croatia in Zagreb as the hosts set up a Nations League decider with England.
Tin Jedvaj's stoppage-time strike earned the World Cup runners-up a first win of the tournament, inflicting Spain's second defeat in a row following their loss to England last month.
Croatia and England both have four points and the winner of Sunday's game at Wembley will overhaul Spain at the top of League A Group 4.
Spain could still advance to the finals next summer. A goalless draw in London would see Croatia relegated; a scoring draw and England would be demoted.
England vs Croatia
November 18, 2018, 1:00pm
"I am quite happy with this match, the result is undeserved," Enrique told his post-match media conference.
"The group was, as we expected, very difficult with two of the best teams in the world."
Andrej Kramaric put Croatia in front after 54 minutes, but Spain levelled through Dani Ceballos within two minutes.
Jedvaj restored the lead, only for Sergio Ramos to convert from the penalty spot after 77 minutes when Sime Vrsaljko was ruled to have handled in the area.
Both sides sought a winner, but it was Jedvaj who scored three minutes into added time.
Barcelona midfielder Sergio Busquets told TDP: "We deserved more.
"We deserved to take the lead, but for one reason or another it wasn't to be and now we need to hope that England and Croatia draw on Sunday, because it's not in our hands.
"It was a very tough group, with strong teams, who had performed well at the World Cup.
"We've been the best side in the group, but occasional errors have cost us."