Ex-partners must delete all intimate or nude photos if one of the partners asks for it, a German court ruled Tuesday.

The case had been brought by a woman in central Germany who demanded that her partner, a photographer, delete all intimate photos of her after the couple split.

During the course of the relationship, the photographer had made several erotic videos and taken many naked pics of the woman with her consent.

A higher court in Koblenz decided that she had the right to demand the material be deleted, because her personal rights were more important than his ownership rights to the material, theLocal reported.

However, the court rejected the woman’s demand that her ex delete all photos taken of her, as it said that clothed pics had “little, if any capacity” to compromise her privacy.

[The Local]

Contact us at letters@time.com.