The Woman in White (1948)
Woman in White is a post-Code lurid Gothic horror, and as such pushes its own boundaries within the genre, mostly through the character of Count Fosco. It’s interesting to note that the film was made in 1946 and not released until 1948, when standards had lessened to a degree; I can’t imagine Frederick’s assertion that he personally has no problem with pre-marital sex being allowed in a film in 1946. But concessions were apparently made to appease the Production Code, and by the time the useless and unstable Frederick reveals himself to be a libertine, he’s been so sufficiently coded as evil and gay that his open-mindedness is easy to overlook.