Denmark\'s Frans Nielsen, right, tries to score against Italy\'s goalkeeper Guenther Hell. Denmark won the match 5-2. (AP Photo/Misha Japaridze)
Nielsen had a goal and an assist as Denmark defeated Italy 5-2 in the final tournament game for both teams Monday. Nielsen took a pass from Mads Christensen in the slot and fired a wrist shot past Italian goalie Andrea Carpano to give Denmark a 3-0 lead at 6:30 of the first.
Meanwhile in Mytischi, Michael Wolf scored twice, including the winning goal, to lead Germany past Belarus 6-5 and improve his team's chances of getting an automatic berth for the 2010 Olympics.
Bo Nordby Tranholm and Peter Regin also scored in the first for Denmark before Italy rallied to cut the deficit to 3-2 in the second on goals by Giorgio de Bettin and Roland Ramoser.
"We jumped out to an early lead and then let them back in it," Denmark forward Kim Staal said. "We talked about tightening our defence during the break and were able to come out in the third and play much better."
Rasmus Olsen put Denmark ahead 4-2 when he deflected Thor Dresler's pass at 9:04 of the third. With 4:31 remaining, Christensen cemented the win after converting a pass from Nielsen.
With the win, Denmark secured its first top-10 finish since joining the top division in 2003. Their final ranking is 10th. The Italians finish 12th.
Germany, promoted from Division I last year, leaves the championship in ninth place, while Belarus is 11th.
The Germans toppled the Czechs 2-0 in the qualifying stage and narrowly lost to Canada 3-2 in the preliminary round.
"This was important for Olympic qualifying. Next year we can attack eighth place for sure," Germany forward Petr Fical said. "It would be great. I think we can do it for sure."
The championship counts toward Olympic qualification in Vancouver. Nations have only this tournament and the 2008 worlds in Canada to secure an automatic berth for the Vancouver Games.
The top nine teams in the IIHF rankings after the 2008 championship will directly enter the Olympics. Those ranked 10th and under will have to fight over the last three spots in qualifying tournaments.
In the relegation round, Austria beat Ukraine 8-4. The result, however, was meaningless because both will be relegated due to Norway's 7-4 win over Latvia.
Norway and Latvia will remain in the elite 16-team division for another season.