My guess is that its the odd knock knock joke, and a whole bunch of "Yo emperor"-style jokes. For instance, "Yo emperor's hair is so bad that his stylist died of shame before he could be put to death." And if the jokes didnt make the emperor laugh, the person telling them got put to death.