Transparency and unfair eviction in democracies and autocracies