In 1968, the Swedish poet Alf Henrikson prepared a Swedish-language version of the libretto for the purpose of a performance by the Royal Swedish Opera, which Bergman adopted as the basis of his script. However, Bergman altered the libretto in a number of respects: Sarastro is Pamina's father, trios in act 2 are omitted, and "Ein Mädchen oder Weibchen" is sung by Papageno just before he sees Papagena. Instead of his usual costume of plumage, Papageno wears conventional clothing. The roles of the Three Slaves, originally spoken roles assigned to adult actors, are given to children, who are silent.