Spain clinched second spot in UEFA Women’s EURO 2022 Group B when defeating Denmark, Germany made it three straight wins.
While Denmark needed a victory to progress and a draw would have been sufficient for Spain, the game stayed in the balance until a 90th-minute breakthrough.
A crowd of over 16,000 at Brentford saw Marta Cardona head home to make sure Las Rojas will play the Lionesses at Brighton on Wednesday.
Karen Holmgaard and Rikke Madsen had earlier not made the most of opportunities for the Danes, while Athenea del Castillo could not quite force the ball home for the Spanish.
There were over 20,000 inside Stadium MK, where Germany had to wait until close to half time to breakdown Finland. Sophia Kleinherne heading in from a Giulia Gwinn cross,to set them on their way to maximum points in the group.
Kathrin-Julia Hendrich set up Alexandra Popp for the second, before substitute Nicole Anyomi made it 3-0.
Germany will play Group A runners-up Austria on Thursday in the quarter-final at the Brentford.