Judge James Graves expressed discomfort with the bans in pointed questions to attorneys defending them.
The movie tells the story of a teenager with cerebral palsy who is unabashed about her sexuality.
The judgment comes as gay rights has become an increasingly thorny issue in Singapore’s conservative society.
Homosexuality remains taboo in many socially conservative African societies.
Vivian Boyack and Nonie Dubes exchanged vows at the First Christian Church in Davenport on Saturday.
Transgender rights activists said the verdict was a great step towards ending discrimination.