NORTH HOLLYWOOD (AP) — A California company that produced X-rated films based on popular Ben & Jerry’s ice cream flavors has agreed to pull the movies from store shelves and destroy materials related to them.

A federal consent order was filed Tuesday in Manhattan. It describes how Rodax Distributors and Caballero Video in North Hollywood will eliminate the films from the marketplace.

Ben & Jerry’s sued last week. It said the “Ben & Cherry’s” X-rated DVDs were “hardcore pornographic” films that smeared its reputation.

The lawsuit by the Vermont-based company cited some naughty names similar to its own. They included “Boston Cream Thigh,” ”New York Fat & Chunky” and “Peanut Butter D-Cup.”