Supposedly the royal jelly molts a warrior or drone into a Queen Mother, which is above the normal queens in the hierarchy. Normal queens develops in a host if the colony needs one. It's on wikipedia if you REALLY want to get nose deep in the literature. But essentially royal jelly is a valid nature phenomenon with bees, used similarly to produce queens from a larval stage.