Harem guard, typically
• Ancient court official who got his job because he could be trusted around women
• Castrato, e.g.
• Harem guard
• Palace guard, perhaps
• A man who has been castrated and is incapable of reproduction