The theme of the work, as in most of Sternberg's films, is "an examination of deception and desire" in a spectacle pitting Dietrich against Clive Brook, a romantic struggle in which neither can satisfactorily prevail. Sternberg strips the denizens of the train, one-by-one, of their carefully crafted masks to reveal their petty or sordid existences. Dietrich's notoriously enigmatic character, Shanghai Lily, transcends precise analysis but reflects Sternberg's own personal involvement with his star and lover. Scriptwriter Jules Furthman famously provided Dietrich with the poignant admission, "It took more than one man to change my name to Shanghai Lily.".