A federal judge in Brooklyn has upheld a “novel application” of forced labor and sex trafficking statutes that resulted in the conviction of a man who repeatedly abused a woman and published photos of her on his sadomasochism Web site.

The defendant, Glenn Marcus, 53, was convicted of sex trafficking and forced labor in March and could face up to 30 years in prison.