 " We 'll Always Have Paris " is named in reference to the Humphrey Bogart and Ingrid Bergman film Casablanca . As well as the title of the episode and the love triangle in the story , the Blue Parrot Café from the film is directly mentioned by Captain Picard . Casablanca was also the basis for the earlier Star Trek : The Original Series novel The Entropy Effect , and would be so again in the Deep Space Nine episode " Profit and Loss " . 
