The story was inspired by the Danish radio play The Return of Don Juan by ; Bergman was intrigued by the character's resurgent popularity.
The story was inspired by the Danish radio play The Return of Don Juan, and as a result, Bergman became fascinated with the character's renewed appeal.