The porter opened the gate, and was amazed at what he saw.

"Who are you?" he asked.

"Wretch!" said the proud king; "I am the emperor. Go to your master. Bid him come to me with clothes. I have lost both clothes and horse."

"A pretty emperor!" the porter laughed. "The great emperor was here not an hour ago. He came with his court from a hunt. My master was with him and sat at meat with him. But stay you here. I will call my master. Oh, yes! I will show him the emperor," and the porter wagged his beard and laughed, and went within.

He came forth again with the knight and pointed at the proud king.

"There is the emperor!" he said. "Look at him! look at the great emperor!"

"Draw near," said the proud king to the knight, "and kneel to me. I gave thee this castle. I made thee knight. I give thee now a greater gift. I give thee the chance to clothe thy emperor with clothes of thine own."

"You dog!" cried the knight. "You fool! I have just ridden with the emperor, and have come back to my castle. Here!" he shouted to his servants, "beat this fellow and drive him away from the gate."

The porter looked on and laughed.

"Lay on well," he said to the other servants. "It is not every day that you can flog an emperor."