The emperor let his illegitimate son enter the palace to study with the princes