In foreign affairs, he was more than happy to ally with Protestant states to check the power of the rival Catholic Hapsburg monarchy.