Scotland must beat Japan to stay in the tournament.