In the 1880s Norway got parlemanternism where the parliament accerted itself and gained more power on cost of the King. In this case the king was not in in Oslo but in Sweden.
In 1905 the businessman Christian Michelsen formd a coalition governemn sconsiting of conservatives and liberals. They had only 1 objective and that was to establish a Norwegian corps of consuls around the world.
This was like a drama well planned and staged.
So the they passed the bill knowing the King would not sign the bill into law. Hence the government of Norway resigned.
So he, Michelsen said under these cicumstances he could not form a government and a constitutional crises broke out. The NOrwegian position was :
Since all the members of the cabinet have resigned their positions; since His Majesty the King has declared his inability to obtain for the country a new government; and since the constitutional monarchy has ceased to exist, the Storting(the norwegian parliament) hereby authorizes the cabinet that resigned today to exercise the powers held by the King in accordance with the Constitution of Norway and relevant laws - with the amendments necessitated by the dissolution of the union with Sweden under one King, resulting from the fact that the King no longer functions as a Norwegian King.
It almost came to war but was staged off.
So the Norwegian played out the swedish king.
Here you see the Storting in 1905.
So now you know how norway got its independence, in short.
Svend