The Han dynasty was a very lengthy period between 202 BC and 220 AD. And the government leaders in this period, selected people to work in the government by making them undertake the then very famous Chinese civil service exam. It never really nor usually mattered what class a candidate appeared to be from, as long as the candidates had the money to take the exams, in addition to possessing the skills to pass the exams then they were sure to be taken in.
Athens were more of a lenient type of city. They respected the morals and values of people and let their people focus on education and tradition, unlike Sparta.