JAPAN'S "Ferraris" hit top gear on Sunday as the hosts beat Scotland 28-21 in a barnstorming Rugby World Cup clash to create history by reaching the quarter-finals.

Rampaging wingers Kotaro Matsushima and Kenki Fukuoka did the damage for Japan, who survived a late fightback in Yokohama to advance as Pool A winners along with Ireland. 

The Brave Blossoms will face two-time world champions South Africa in Tokyo next weekend (Sunday, 20 October) after making it a perfect four wins out of four, roared on by a crowd of 67 000.

Fukuoka, scorer of Japan's try in their 19-12 upset over Ireland, grabbed two more in Yokohama with Matsushima notching his fifth of the tournament for the rampant Japanese. 

After a war of words between the rival coaches in the build-up, the teams observed a moment's silence for the victims of the violent typhoon that swept through Japan on Saturday, killing at least 26 and forcing organisers to scrap three pool games.

The needle between the sides quickly resurfaced in Sunday's typhoon-threatened Pool A decider, however, as both teams put in some monstrous early tackles.

"For my team, the whole World Cup, we've prepared really, really well. They've put their bodies on the line every weekend," said Japan coach Jamie Joseph, who has compared his players Ferraris.

"But tonight they went another level I felt. They obviously wanted that game as much as the Scottish team did. They gave everything they possibly could.

"Everyone that entered the game, from our most experienced to our least experienced, gave 150 percent and that's what it takes to win big Test matches."

Scotland needed to win while preventing Japan from securing a defensive bonus point - and they got off to a flying start. 

The Springboks will face Japan in the World Cup quarter-final.