Or he's simply one of those "letter of the law" types, and even if he's obviously an evil dick, Doflamingo is still the governmentally recognized ruler of this country still.