 In order to deceive Hotzenplotz, Kasperl and Seppel switch their hats.As they follow the trails separately, Hotzenplotz captures them one after the other.Kasperl begins playing the fool and constantly pronounces Hotzenplotz name wrong, so that Hotzenplotz sells him to the wizard Petrosilius Zwackelmann.