WARSAW – Denmark gained an automatic spot at the 2012 European Championship at the expense of Portugal on Tuesday while France needed a late penalty kick in a 1-1 draw with Bosnia-Herzegovina to qualify.
Former champion Greece and Russia also clinched places at next summer's tournament in Ukraine and Poland with victories on the final night of group qualifying games. Sweden beat the Netherlands 3-2 to advance as the runner-up with the best record from the nine groups.
In South American World Cup qualifying, Venezuela upset Argentina and Lionel Messi 1-0, getting a 61st-minute goal when Fernando Amorebieta redirected a corner kick in.
In exhibitions, the United States lost 1-0 to Ecuador on Jaime Ayovi's 79th-minute goal and Mexico hosted Brazil.
In European Championship qualifying, a 2-0 defeat in Copenhagen dropped Portugal's Cristiano Ronaldo and his teammates into next month's qualification playoffs, along with Turkey, Ireland, Estonia, Bosnia-Herzegovina, Croatia and Czech Republic. Montenegro already had clinched second in Group G before a 2-0 loss at Switzerland on Tuesday.
The playoff draw is Thursday.
Defending champion Spain beat Scotland and Germany against Belgium to finish group play with perfect records. The Netherlands' defeat in Stockholm ruined their 100 percent run in qualifying.
England and Italy already had qualified as group winners. The French, needing at least a draw to finish top of Group D, fell behind at the Stade de France in the 40th minute when Edin Dzeko curled home a shot from the edge of the box. Samir Nasri salvaged a point for the hosts when he converted a penalty kick after being brought down just inside the area by defender Emir Spahic.
Denmark had to win to secure first place in Group H and was ahead 2-0 by the 63rd minute on goals by Michael Krohn-Dehli and Nicklas Bendtner. Ronaldo halved the deficit with a goal on a free kick in second-half injury time but it wasn't enough for the Portuguese.
Greece, the surprise 2004 champion, needed goals in the final 11 minutes by substitute Giorgos Fotakis and veteran Angelos Charisteas to secure a 2-1 win over Georgia and reach its third straight European Championship.
It meant second-place Croatia's 2-0 victory over Latvia was in vain, with Greece winning Group F by two points.
As expected, Russia routed Andorra to qualify from Group B. lan Dzagoev scored twice in a 6-0 win in Moscow, and Sergei Ignashevich, Roman Pavlyuchenko, Denis Glushakov and Diniyar Bilyaletdinov also got goals.
Ireland finished second with a 2-1 win over visiting Armenia, capitalizing on the disputed ejection of Armenia goalkeeper Roman Berezovski for hand ball outside the penalty area in the 26th minute. Ireland took a 2-0 lead on Valeri Aleksanyan's own goal and Richard Dunne's close-range finish.
Henrik Mkhitaryan replied two minutes later for Armenia, which would have finished runner-up with a win.
Sweden's first win over the Netherlands since 1924 ensured the team advanced as the best runner-up - but it needed to overturn a 2-1 deficit to do so.
In a four-minute span just after the break, Sebastian Larsson scored a penalty kick and Ola Toivonen converted a powerful shot. The Dutch had recovered from Kim Kallstrom's 14th-minute free kick with goals by Klaas-Jan Huntelaar and Dirk Kuyt.
In South American qualifying for the 2014 World Cup, Argentina dropped to 1-1, one point behind Uruguay (1-0-1), which tied 1-1 at Paraguay. Diego Forlan put Uruguay ahead in the 67th, but Richard Ortiz tied it in the final minute for Paraguay (0-0-1).
Colombia (1-0) won 2-1 at Bolivia (0-2) when Radamel Falcao came off the bench and scored in second-half injury time. Dorlan Pabon gave Colombia a 1-0 lead in the 48th minute and Walter Flores tied it in the 85th.
Chile beat visiting Peru 4-2 on goals by Walter Ponce, Eduardo Vargas, Gary Medel and Humberto Suazo, with Claudio Pizarro and Jefferon Farfan scoring for Peru. Both teams are 1-1.