It's times like this that make me wish Luffy killed people now and then. Because I'd really like Doflamingo to die horribly.
Anyway, at least it's believable that the people would turn on the king now. It wasn't just some guys telling them the king did something.