NEW YORK - Rap magazine The Source has been ordered to pay Eminem's legal fees for violating a federal court order not to publish full versions of the rapper's racially charged lyrics.
The Source published the lyrics of an Eminem song on its Web site in January, violating a temporary restraining order issued by U.S. District Judge Gerard Lynch in December.
In a pair of rulings made public Wednesday in the copyright dispute between the magazine and the rapper, Lynch ordered The Source to pay legal fees to Shady Records Inc., Eminem's label.
The judge compared Eminem to Benny Goodman and Elvis Presley in finding success in musical genres created by black artists. But he said the First Amendment protects the rapper's "musical commentaries on life."
"It is for fans of hip-hop, and not for this court, to decide what if anything this episode means for their opinions of Mathers as a man and as an artist," the judge wrote.
In December, the judge allowed the magazine to publish limited excerpts from the lyrics and to distribute CDs containing small clips of the songs.
The dispute concerns two recordings made by Eminem, whose real name is Marshall Mathers, as a teenager. They include lyrics such as "black girls are dumb, and white girls are good chicks."
The Source's co-owners, David Mays and Raymond Scott, have publicized the records, accusing Eminem of racism. The magazine also published a poster of Scott holding Eminem's severed head. Eminem and Mays are white; Scott is black.
Eminem, now 31, has said the recording was "foolishness" that he made as a teenager out of anger and frustration after breaking up with a black girlfriend.
In a companion ruling, the judge dismissed a countersuit filed by The Source against Shady Records and Eminem himself, in which the magazine claimed it held the rights to the songs.
But he denied a request by Shady Records to fine the magazine thousands of dollars because the magazine quickly removed the lyrics in January when lawyers complained.
Michael S. Elkin, a lawyer for The Source, defended the publication of the lyrics.
"The Source had every right to publish the material it did release to inform the public about who Eminem is," he told The New York Times.
Shady Records declined comment.