This is one of the 'Animagical' titles from the children's film archive of Rankin/Bass. The story line is reminiscent of an earlier 1966 R/B Animagic film, 'The Daydreamer', both of which chronicles the fairy tales of Danish author, Hans Christian Andersen.
The Enchanted World of Danny Kaye: The Emperor's New Clothes (1972) is currently not available on any services.
Jules Bass, Arthur Rankin, Jr.
Rankin/Bass Productions