Norway also didn't exist as an independent kingdom until 1905 (instead being ruled by the king of Sweden) so using the current rules of succession don't make much sense. Actually if the royal family in one of the Scandinavian countries died out, it would be more than likely a king or prince from another Scandinavian country that's next in line for succession (like Prince Carl of Denmark became the Norwegian king Haakon VII in 1905), so pretty much what Hans was planning.