Hedin was a monarchist. From 1905 onwards he took a stand against the move toward democracy in his Swedish homeland. He warned of the dangers he assumed to be coming from Czarist Russia, and called for an alliance with the German Empire. Therefore, he advocated a strengthened national defence, with a vigilant military preparedness. August Strindberg was one of his opponents on this issue, which divided Swedish politics at the time. In 1912 Hedin publicly supported the "Swedish coastal defense ship Society". He helped collect public donations for the building of the coastal defense ship , which the Liberal and anti-militarist government of Karl Staaff had been unwilling to finance. In early 1914, when the Liberal government enacted cutbacks to the country's defenses, Hedin wrote the Courtyard Speech, in which King Gustaf V promised to strengthen the country's defenses. The speech led to a political crisis that ended with Staaff and his government resigning and being replaced by a non-party, more conservative government.