an emperor needed to appear impressive , and rumpelstiltskin tricked him into appearing naked in front of his subjectsmaking him appear the fool , until a child pointed out the emperors bravery for being in public without clothing .