During the union crisis of 1895, when the Norwegian wished to have their own embassies, the royal family had a family council at the sick bed of the queen in the presence of the German Emperor William II. William recommended united German-Swedish military intervention, but Sophia firmly forbade anything of the sort, told the Emperor that he did not understand the situation and advocated friendly negotiations. During the crisis of 1898, the Norwegians began to use their own flag, Oscar II threatened to abdicate and Prime Minister Boström to resign. The queen calmed the situation and convinced the both to remain at their posts. Queen Sophia is credited with using her influence to prevent military intervention and war during the dissolution of the union Sweden-Norway in 1905.