Historically, Democracy was not necessarily a guarantee of freedom, only that "eligible" citizens have a say in what a government does or can do.
The ancient Greeks had both democracy and slavery side by side.
The Klingons are a good example.
The Klingon government, as already pointed out, has a funny idea of democracy too. A couple of candidates are selected from a few of the most powerful houses, and then they slug it out to see who leads.
Or you can challenge a current leader to a fight to the death, and if you win, you get the leadership no matter what your views or qualifications are.
Oh yeah, and on top of all that, women cannot serve on the council, or lead a house, though they are considered equal otherwise.