Sanitizing movies on DVD or VHS tape violates federal copyright laws, and several companies that scrub films must turn over their inventory to Hollywood studios, an appeals judge ruled.

Editing movies to delete objectionable language, sex and violence is an “illegitimate business” that hurts Hollywood studios and directors who own the movie rights, said U.S. District Judge Richard P. Matsch in a decision released Thursday in Denver.