 The screenplay is based on a story by (Ludwig) Achim von Arnim,  which he wrote in 1818 and is called "Der tolle Invalide auf dem  Fort Ratonneau" (The Mad Invalid at Fort Rattoneau). Until 1997 it  was the only story written by Arnim that was previously translated  into English.