One of the greatest Star Trek: Deep Space Nine episodes, "In the Pale Moonlight," owes a weird but amusing debut to Tim Burton's 1989 blockbuster, Batman. "In the Pale Moonlight" is one of the seminal DS9 episodes spotlighted in Peter Holmstrom's oral history, The Center Seat: 55 years of Star Trek. It turns out the classic episode's familiar title has a funny origin borne from genuine confusion.
https://screenrant.com/star-trek-ds9-in-pale-moonlight-batman-1989/