One of the reasons armed conflict is bad is there is really no justice in it and no time for justice. Justice starts to be possible when security is established, and security is established through armed conflict or a strong norm not to get into it -- as we see presently in Europe, where many countries with meaningful territorial losses and weird borders (exclaves, &c) have elected to just never settle those things.