(yes, the more accurate word would be titocracy, from the Greek root κτήτο-, but where's the fun in that?)
There's a sort of "reverse no true Scotsman" happening here because of a confusion of terms which creates the illusion of a contradiction. The claim was, "it is undemocratic for leaders to change the system in an anti-democratic way, despite being elected;" this is a claim about how democracies ought to work. Your counterclaim was, "this has happened historically in democracies" - a true claim about history, but these claims are not actually in contradiction and indeed both of them are true. Like how if I said, "cars drive on four wheels," it wouldn't be a contradiction for if you showed me a car which had three wheels because it had lost one in an accident.