Japan produced a scintillating display of attacking rugby to beat Scotland 28-21 and reach the Rugby World Cup quarter-finals for the first time, lifting the nation still reeling from the deadly impact of Typhoon Hagibis.
On an emotional and unforgettable night at the Yokohama Stadium, Kenki Fukuoka (2) Kotaro Matsushima and Keita Inagaki scored the tries before the hosts then held off a fierce second-half assault from a team they had lost against in all seven of their previous meetings.
When Japan beat South Africa four years ago - having won only one of their previous 24 World Cup matches - it was considered the greatest shock in rugby history. This time, having already beaten Ireland three weeks ago, it did not even feel like a real surprise - they have now won seven of their last eight.
They were faster, sharper, more inventive and, roared on by the vast majority of the delirious red-and-white-clad crowd, absolutely relentless in everything they did as they became the first tier-two team to reach the last eight since Fiji in 2007.
Having won all four of their matches to top Pool A with 19 points, they will face the Springboks again in the quarter-finals and the twice-champions will be taking absolutely nothing for granted.
The result also meant that Ireland, through as runners-up on 16 points, will play New Zealand.
"Tonight we went another level," said Japan coach Jamie Joseph. "They wanted it as much as the Scots and gave as much as they could. This is what it takes to win big test matches."
The match was given the go-ahead only on Sunday morning after an inspection of the damage caused by the typhoon and proved a wonderfully uplifting occasion for the country after the death and destruction wrought by the storm.
"Whilst we are celebrating tonight there are a lot of people who aren't," Joseph said. Captain Michael Leitch concurred. "This is just another opportunity to inspire Japan and at this time Japan needs that," he said.
It was a predictably raucous atmosphere at kick off and, after Scotland struck first with a Finn Russell try, Japan hit back with a brilliantly-worked, high-tempo score that set the tone for the night as Fukuoka tore clear and slung a one-armed pass into the arms of the supporting Matsushima to detonate an explosion of noise.
If that was good, their next score was a contender for try of the tournament. Fukuoka and Matsushima again put on the afterburners and then a mesmerizing series of off-loads and side-steps ended with prop Inagaki going over.
Japan were playing with a speed and intensity that the Scots just could not live with and got a third try at the end of the half when Tim Lafaele slipped through a deft grubber that bounced perfectly into the arms of runaway wing Fukuoka, to the delight of the scarcely believing crowd.
It was then bedlam two minutes into the second half when Fukuoka stripped Chris Harris and galloped clear for a fourth and bonus-point clinching try.
The Scots, who came from 31-0 down to draw 38-38 with England in the Six Nations in March, channelled that Twickenham spirit as WP Nel and Zander Fagerson scored to get back within seven points with 25 minutes to go but, with the bonus-point situation, they still needed more than two converted tries to advance.
It was relentless Scottish pressure and desperate Japanese defending from then on, but the hosts held out in what became a deafening cauldron of noise as almost 70,000 counted down to the gong.
It was only the second time Scotland have failed to reach the last eight - the other coming in 2011 - but they can have few complaints, bookending wins over Russia and Samoa with defeats by Ireland and the hosts. "We had a mountain to climb after that first half but we started climbing it," said Scotland coach Gregor Townsend, who also said that Scottish Rugby's thoughts were with the typhoon's victims.
"We were obviously aware that this was huge for the home nation. The atmosphere was absolutely fantastic and you didn't want to be the team that was losing in that atmosphere."