Order out of Trouble: Jurisdictional Tensions in Catholic and Islamic Empires