The current emperor, Gregor, is merely an adopted son.
The last ruler took him in as potential heir since his wife couldn't have children.
When the wife passed, the previous emperor remarried and this time got 2 kids, Cedric's mother and Roygar.
Gregor got the throne since he was older, but his stepsiblings had higher bloodline legitimacy - competition to be removed.