I would suggest reading the cited article from that section, it’s free to access and clarifies the categorisation far better than I have here.
Also, consider the fact that China calls itself democratic. Does that make it so? What a country calls itself and what political scientists call it (based on typologies like those discussed in the aforementioned article) are very different things.