The ending of the movie had to be changed to get the Hays Seal of Approval. In the original operetta and two movie versions, the Baron and Baroness are happily reunited, but in this version, they divorce and she marries the bandit chieftain. The change was made to avoid the suggestion that the filmmakers were condoning extramarital romance.