The Emperor without clothes is a scrapped character in Shrek Forever After. He is based on the dictator from the fairy tale "The Emperor’s New Clothes".
He had a minor role as one of the many people to close a contract with Rumpelstiltskin in order to get the respect of his empire. Rumpelstiltskin offers him this wish for all his clothes. When the deal closes, the emperor realizes that, besides his clothes disappearing, his crown is gone as well.