The match got a chaotic start when Germany's defender Katrin Hendrich pulled the French center back Griedge Mbock's hair on a free kick and was sent off in the 14th minute.
The situation arose inside the penalty area, and the subsequent penalty kick was scored by France's Grace Geyoro behind the German goalkeeper Ann-Katrin Berger who still got her hand on the ball.
German national team coach Christian Wück was then given a yellow card for protesting.
Equalized on a corner
Swedish referee Tess Olofsson thus had a lot to do in the match. Former top referee Jonas Eriksson was not entirely convinced after the match that her performance will lead to her refereeing the final.
There is a chance she will get the final, but I do not think she will get it. I think there is a greater chance that someone else will get it. But it depends a bit on which nations go there, he says in SVT's European Championship studio.
Despite having one player less, Germany managed to equalize with just over half an hour played on a corner via Sjoeke Nüsken.
Will face Spain
France was close to regaining the lead in the 40th minute when Delphine Cascarino put the ball in the net, but had the goal disallowed for offside.
Ten minutes into the second half, France's Grace Geyoro put the ball in the goal, but had the goal disallowed after teammate Maëlle Lakrar was found to be offside.
The match got another twist in the 69th minute when Germany was awarded a penalty after Jule Brand was fouled by Selma Bacha. Sjoeke Nüsken took the penalty – which was saved by France's goalkeeper Pauline Peyraud-Magnin.
Germany finally won the match 2-1 after a penalty shootout and is now advancing to the semifinal against Spain.