Probably not. But invasion of another sovereign state is definitely not permitted under International Law.
Why not? We do it all the time. Libya, Syria
The point is...they’re supposed to be the better of the two.