Great Britain overturned a two-goal deficit to beat South Korea 4-3 and set up the chance of a fifth-place finish at the Champions Trophy in Auckland.
A remarkable three goals in as many minutes saw Britain take the lead. Korea then levelled before Mark Pearn hit the winner with two minutes left.
That earned Britain a play-off match to decide fifth place with second seeds Germany on Sunday.
Also on Sunday top seeds Australia face Spain in the battle for the gold.
The chance of fifth place for Jason Lee's British team seemed remote when Korea led the final match of Group D, the second tier of the second phase of the competition.
It was against the run of play that the Koreans took the lead through You Hyo-Sik's 31st-minute strike, but they then doubled their advantage when Seo Jong-Ho scored with a deflected shot in the 45th minute.
Britain soon responded, and James Tindall got on the scoresheet two minutes later, scoring from Barry Middleton's cross.
They levelled on the hour mark with Ashley Jackson scoring from a penalty corner, and were in front when Tindall got his second goal in the 66th minute.
However, just seconds later, Nam Hyun-Woo brought Korea level from the penalty spot, only for Pearn to have the final word in the 68th minute.
Lee was pleased with the fight shown by his players after what he has already admitted were less than ideal preparations for the tournament.
"We haven't prepared to peak at this event," he said. "I thought we did well to grind out the result after going behind. Physically we're not at our best at this tournament but I'm pleased we're still able to get these results."
Sunday's match, which starts at 0005 GMT, will give Lee's team the chance to avenge a 2-1 first phase defeat by the Germans on Thursday.
Victory over Germany would ensure participation for England, Great Britain's 'nominated country', in the 2012 edition of the Champions Trophy.