you're probably american, so you're forgiven for this ignorance, but europe consists of +-50 sovereign states. Even now with EU (that doesn't contain many states), declaring a war is always matter of a given nation.
The GP said between the establishment of the papacy to Napoleon, so he's speaking about events well before there were 50 sovereign states in Europe or an EU.
Apples to ants...