Every nation has the right of self-defense.
We would have to take each invasion separately. What was the self defense in attacking Syria? That is absurd.