Japan goes on to the Round of 16.
Japan are through to the Round of 16 despite a 0-1 loss to Poland, joining Colombia in the next stage of the World Cup.
Poland's Jan Bednarek has scored a goal in the 59th minute in their last group match against Japan.
Going into the World Cup, Poland and Japan were separated by 53 places in the Fifa rankings. However, that list will have to be reworked after Poland's two defeats ensured they will not progress beyond the group stages.