According to international law, an invasion into another country is a straight violation of that country's sovereignty. Although some other countries supported this invasion, it would have been accepted as rightful if it was a requested intervention instead of a clear invasion.