One character jokes that she wants to bring her odometer count back down to “zero.”

“We realized that what we thought was a sporadic practice was actually pretty common,” said Davide Sordella, the film’s director. “These women can live in Italy, adopt our mentality and wear jeans. But in the moments that matter, they don’t always have the strength to go against their culture.”

The issue has been particularly charged in France, where a renewed and fierce debate has occurred about a prejudice that was supposed to have been buried with the country’s sexual revolution 40 years ago: the importance of a woman’s virginity.

The furor followed the revelation two weeks ago that a court in Lille, in northern France, had annulled the 2006 marriage of two French Muslims because the groom found his bride was not the virgin she had claimed to be.

The domestic drama has gripped France. The groom, an unidentified engineer in his 30s, left the nuptial bed and announced to the still partying wedding guests that his bride had lied. She was delivered that night to her parents’ doorstep.

The next day, he approached a lawyer about annulling the marriage. The bride, then a nursing student in her 20s, confessed and agreed to an annulment.

The court ruling did not mention religion. Rather, it cited breach of contract, concluding that the engineer had married her after “she was presented to him as single and chaste.” In secular, republican France, the case touches on several delicate subjects: the intrusion of religion into daily life; the grounds for dissolution of a marriage; and the equality of the sexes.

There were calls in Parliament this week for the resignation of Rachida Dati, France’s justice minister, after she initially upheld the ruling. Ms. Dati, who is a Muslim, backed down and ordered an appeal.