Denmark's unbeaten run in South Africa 2010 qualifying came to an end in Copenhagen at the hands of Hungary and Akos Buzsaky.
Switzerland and Slovakia seized Europe's last two automatic berths in South Africa, while Portugal, Greece, Slovenia and Ukraine made the play-offs.
Olof Mellberg scored twice as Sweden won their final South Africa 2010 qualifier, but events elsewhere meant their bid for qualification reached its end.
Portugal cruised to a 4-0 victory over Malta that clinched them a place in the play-offs and ended Sweden's chances of reaching South Africa 2010.
Sweden coach Lars Lagerback has admitted that the team are likely to benefit from a "fresh start"once the South Africa 2010 qualifiers are over.
Switzerland, Greece, Slovakia and Slovenia head into Wednesday's final qualifiers hoping to claim the two remaining direct tickets to South Africa.