Sovereignty basically is the rightful status of any nation to govern themselves, while Humanitarian Intervention is an act of interfering with another nation’s (or someone else’s) affairs in the name of Humanity.
Both have solid grounds, and are recognized as the ideals the world should uphold; but in particular cases, one of the examples is genocide/ethnic cleansing, both ideals are “at war” trying to override each other. We know whose side we’re on when the battle is between good and evil, but how about when the battle is between good and good?