I think these affairs ought to be handled through international bodies. The UN seems to have no mechanism for it.
It's why the UN has an obsession with a tiny democracy in the middle east and ignores the multitude of brutal dictatorships which oppress and kill far more people around it and across the globe.
The UN deliberately has no mechanism for this because it's a talking shop intended to help avoid war by providing a talking venue. That's the whole idea, they're not the world police, there is no such thing. They're a forum.
I'm absolutely not defending any given dictator but history shows that every attempt to remove a dictator "for the greater good" is usually 1) selfishly motivated and 2) backfires horribly.
Basically, "leave it to the population to sort out themselves, even if they've lost the democratic means to do so," up until a government has gone so insane it's massacring its people, or other people.