entirely re-written. Taylor called the final version "brilliant" but admitted that it had mostly been written by Moore. Moore explained that the story needed something of weight in order to push Sisko along. The writing team discussed having the Dominion take one of the well-known planets of the Federation. Vulcan was considered, but it was felt to be too important and so Betazed was chosen instead. Ira Steven Behr added the final line of the episode, "I can live with it", as a reference to the 1962 film The Man Who Shot Liberty Valance. The title of the episode came from the line in the 1989 Batman film: "Have you ever danced with the devil in the pale moonlight?". Direction and casting Director Victor Lobl also planned out the mannerisms shown by Brooks as Sisko where he talks directly to the camera. He praised the actor, saying that he delivered exactly what Lobl's written direction had described. All of those sequences were shot almost in direct continuity to ensure that the audience believed that it was a single log recording. Lobl had those filmed very tightly, and so there were not many options available in editing as only two angles were filmed for those sequences. The script had called for Sisko to get more and more drunk during those sequences as he descends into the flashbacks; Lobl had expected the studio to pull that idea before filming, but they did not. Lobl also had Sisko begin to remove various parts of his uniform at the same time, which he felt demonstrated that the character was baring his soul about the story. "In the Pale Moonlight" featured several recurring characters and actors, with Combs as Weyoun, Biggs as Damar and Robinson as Garak. Joining them was McHattie, portraying Ambassador Vreenak. He made a second appearance in the Star Trek franchise in the Star Trek: Enterprise episode "The Xindi" as an alien foreman. Themes Executive producer Rick Berman said that when creating Star Trek: Deep Space Nine, he had to obey the rules as set out by franchise creator Gene Roddenberry, and compared the behavior of normal Starfleet officers to that of Boy Scouts. Berman suggested that "In the Pale Moonlight" was the exception. Taylor said that the episode "pushes the boundaries in a realistic way". In an interview in 2011, when talking about "In the Pale Moonlight", Robinson compared Starfleet to