A US hip-hop magazine has been given permission to publish CDs containing excerpts of an Eminem recording which the magazine alleges is racist.
Eminem made the recordings as an unknown teenager
A federal judge allowed The Source to make available up to 20 seconds of two previously unreleased works made by the rapper when he was a teenager.
His lawyers argued that distributing the CD violated copyright laws.
The Source said some of the material was offensive to black women. Eminem has apologised for "foolish" lyrics.
The magazine says a lyric which states that "black girls are dumb" is denigrating to African-American women.
Eminem, 31, has said he made the recording "out of anger, stupidity and frustration" after breaking up with a black girlfriend.
Eminem starred as a rapper in the film 8 Mile
The Source, which has a circulation of 500,000, said it would include the CD in its next issue following a copyright ruling by US District Judge Gerald E Lynch in New York on Monday.
The judge said limited reproduction of the recording fell
within the magazine's right to "fair use" of copyrighted
material for the purpose of criticism.
He said he would allow the magazine to reprint up
to eight lines from the material. One of the two tracks lasts more than five minutes.
Lawyers for Eminem had wanted the reproduction rights to be limited to 10 seconds and five lines, while The Source's lawyers wanted 40 seconds and 10 lines.
A spokeswoman for The Source said the magazine considered the judge's ruling "a victory". In turn, Eminem's lawyer, Donald N David, said the judge had made the right decision in deciding how much of the songs could be used.
The Source had held a news conference last month to publicise its discovery of the recording and to accuse Eminem of racism.
Raymond Scott, the magazine's co-founder who also is a rapper, has released several recordings attacking Eminem - who has responded in kind.