The contingent morality of war: establishing a diachronic model of jus ad bellum