 Only adult men of high social rank could be castrated.Most eunuchs were born as such with a congenital abnormality.The Vietnamese government mandated that boys born with defective genitalia were to be reported to officials, in exchange for the town being freed from mandatory labor requirements.