Denmark defeated Spain 26-23 in the semi-final ©Getty Images

Denmark and France are set to battle it out in the final of the International Handball Federation (IHF) Men's World Championship.

Denmark defeated Spain 26-23 in the semi-final clash, while France got the better of co-hosts Sweden 31-26 to qualify for the final, set to be played in Stockholm.

Victory for France means Denmark have qualified for the Paris 2024 Olympic Games, as France are already through as hosts.

The Danes have now made it to five finals out of seven editions of the IHF World Championship.

The defending champions could be the first team to win three consecutive titles if they beat France in the final.

Skipper and goalkeeper Niklas Landin Jacobsen was the star performer for Denmark, with a 53 per cent save ratio after the first 30 minutes, where managed to pull off 10 stops from 19 shots.

On the attacking front, it was Simon Pytlick who stood out, finding the back of the net six times.

Alex Dujshebaev top-scored for Spain with five goals.

In the other game, France sealed their eighth final in their IHF Men's World Championship history.

Without star player Jim Gottfridsson, who suffered a fractured finger during the quarter-final match against Egypt, Sweden lacked a creator.

France also missed players in Thibaud Briet and Nikola Karabatic due to injuries.

However, Ludovic Fabregas and Nedim Remili combined for 11 goals for the Olympic champions.

Sweden's main threat up front was Eric Johansson, who scored five goals, but it was not enough to challenge the French.  

In the other games, Germany defeated Egypt 35-34 to set up a fifth place match with Norway, who registered a 33-25 win over Hungary.