Updated

A French man was ordered by a judge to pay his ex-wife nearly $12,000 in damages for not  having enough sex with her during their marriage, the U.K. Telegraph reported Monday.

The man, identified only as "Jean-Louis B." in press accounts, was fined under article 215 of France's civil code, which orders married couples to agree to a "shared communal life," according to the newspaper. A judge reportedly ruled that the code implies that "sexual relations must form part of a marriage."

The 47-year-old woman in the case filed for divorce two years ago, claiming that lack of sex with her 51-year-old husband was to blame for the split, the newspaper reports. After a judge granted the couple a divorce, the woman took her ex-husband back to court and demanded compensation for "lack of sex over 21 years of marriage."

A judge in southern France ruled in the woman's favor, according to the newspaper, saying, "A sexual relationship between husband and wife is the expression of affection they have for each other, and in this case it was absent ... By getting married, couples agree to sharing their life and this clearly implies they will have sex with each other."

Click for more on this story from the U.K. Telegraph