International law matters when it comes to something as significant as a widescale military assault on a territory of another state, resulting in the death of its political and religious leader.
The 1945 United Nations charter was written at the end of the second world war to place significant constraints around precisely that type of conduct, and yet 80 years later there is a clear sense that we are living in a world in which “might is right”.