The Merchant of Venice (1969 film) and doubled for Venice; and filming was completed in Rome, where Welles was editing "Don Quixote". The film itself was a shortened version of the play, Welles even eliminated the character of Portia from the film after his mistress Oja Kodar declined the role, due to her then-limited knowledge of English. Francesco Lavagnino, who had written the musical scores of Welles's previous two Shakespeare films, "Othello" (1952) and "Chimes at Midnight" (1966), provided a full musical score for this film. Welles completed the film in the summer of 1969, and gave a preview screening to Oja Kodar and her mother
The Shakespeare Code makes reference to the many debates about Shakespeare's sexuality. Shakespeare flirts with Martha multiple times during the episode, and ultimately composes Sonnet 18 for her, calling her his "Dark Lady". This is a reference to the enigmatic female character in Shakespeare's Sonnets, although Sonnet 18 is in fact one of those addressed to a male character, the Fair Youth. Shakespeare subsequently flirts with the Doctor as well, at which the Doctor observes, "Fifty-seven academics just punched the air," a reference to the debates on this subject. There is a running joke throughout the episode in which the Doctor creates an