Germany beat France 4-2 to finish top Group A as French goalkeeper Berangere Sapowicz became the first player sent off at the Women's World Cup here on Tuesday.
Kerstin Garefrekes (25th) and Inka Grings (32nd) had given the hosts a 2-0 first-half lead with Grings converting a penalty after 68 minutes awarded after Sapowicz was given her marching orders for a dangerous tackle on Fatmire Bajramaj.
Celia Okoyino Da Mbabi scored the fourth for Germany a minute from time after Marie-Laure Delie (56th) and Laura Georges (72nd) had gotten two back for France.
Two-time defending champions Germany set up a quarter-final clash with Japan, who finished second in Group B after losing 2-0 to England in Augsburg. Second-placed France next play Group B winners England.