I’m actually not sure which country you are talking about now. I don’t know of anyone who calls Palestine a democracy. I think the reason people call Israel a democracy is that Israeli citizens have free elections and are not oppressed. I don’t think they factor in oppression of other countries when they call something a democracy. If they did, the US and UK wouldn’t count as democracies either.