Religion is pretty much one of the worst unifiers in the very multi-confessional empire, with Catholics, Protestants, Reformed Christians, Greek Catholics, Greek Orthodox Christians and Jews all in great quantities.
About the original idea, I think the best option would be a late, miracle...