And don't forget the precedents that it's only a war crime if you lose and losers will be prosecuted regardless of any actual crimes. So the leadership of both sides will know that they'll likely be executed if they lose the war, increasing their willingness to commit actual atrocities if they think it'll make victory more likely.