Japan enjoyed a historic sporting victory on Sunday as the hosts beat Scotland 28-21 in a barnstorming Rugby World Cup clash to reach the quarter-finals.