Slovenia earned a place in next year's World Cup by beating Serbia 92-74 at the European basketball championship on Thursday.
Zoran Dragic scored 23 points for Slovenia in a game between two quarterfinal losers. Slovenia will play for fifth place and Serbia for seventh.
Seventh place will be enough for a slot at the World Cup because host Spain is a direct qualifier and is already in the European semifinals.
Slovenia outscored Serbia 30-16 in the first quarter and held on to win. Goran Dragic and Jaka Blazic added 15 points each for Slovenia.
Nenad Krstic had 16 for Serbia, which went 2-for-18 from 3-point range.