Because a functioning democracy would ban a nazi party.
I think it makes sense that both are categorised as flawed.
We can play the “whose saying it game”, or look at the arguments. Democracy is rule by the lowest - and it’s easily manipulated by the popular. Buying votes, focus on the carnal, and immediate is a clear sign of democracy in decline.