I didn't know the end before seeing the film so it came as a complete surprise to me. To blame now Siodmak/the producers for not having had the courage to go against the Hays code is, in my opinion, a little bit silly and pretentious. The film's message is quite clear and this concession to American morals of the 40's doesn't bother me. Some current directors do a lot worse. Without censorship. Strongly recommended.