treaties can matter in war