If I were to fire a gun randomly at an apartment building and kill people, but my intent was to only do property damage, does that mean I didn't commit murder? Intent does not matter when the outcome is people dying.
Wow. International treaties do not free you of your obligations on the basis of other side of war commitment to them. I don’t even need to check if the statement is true, because it absolutely is irrelevant.