Sweden won't get involved in the assault case of American rapper A$AP Rocky despite the angry urging of U.S. President Donald Trump, a Swedish government spokesperson said Friday, citing government interference concerns.

"Sweden and Prime Minister Stefan Lofven have been very clear in the dialog with both the White House and directly with the American president, that in Sweden everyone is equal before the law and that the government cannot interfere in legal proceedings," the spokesperson said in a text message.

Best known for his song Praise the Lord, the 30-year-old performer, producer and model, whose real name is Rakim Mayers, was detained about three weeks ago following a street altercation in Stockholm on June 30. A$AP Rocky was charged on Thursday and will go on trial next week.

Trump, who last week urged Swedish Prime Minister Stefan Lofven to free A$AP Rocky, fired off tweets on Thursday saying he was "very disappointed" in Lofven and demanding: "Treat Americans fairly!"

Trump added: "We do so much for Sweden but it doesn't seem to work the other way around. Sweden should focus on its real crime problem! #FreeRocky."

Very disappointed in Prime Minister Stefan Löfven for being unable to act. Sweden has let our African American Community down in the United States. I watched the tapes of A$AP Rocky, and he was being followed and harassed by troublemakers. Treat Americans fairly! <a href="https://twitter.com/hashtag/FreeRocky?src=hash&ref_src=twsrc%5Etfw">#FreeRocky</a> —@realDonaldTrump

Mayers has said he is innocent and the men provoked him and his two companions, who have also been charged with assault. If convicted, they could face up to two years in jail.

Trump has said he would personally vouch for Mayers's bail. Sweden does not have a bail system.

Former Swedish prime minister Carl Bildt told the daily Aftonbladet that Lofven was right not to comment further on the case.

"I think it's right of the government not to go into a mud-wrestling match with Trump. That is his element, and should not be Sweden's," Bildt said.

Mayers, also known by the pseudonym Lord Flacko, was in Stockholm to perform at the Smash hip-hop festival. His arrest forced him to cancel a dozen shows scheduled as part of his Europe tour.

Court documents released

Separately, Swedish authorities on Friday released court documents related to the case, with prosecutors saying the victim was punched and kicked while on the ground and attacked with a bottle.

Mayers and two other suspects "deliberately, together and in agreement" assaulted the victim in central Stockholm, prosecutors said in the documents from the Stockholm District Court that were obtained by The Associated Press.

The 500 pages, in which prosecutors also said Rocky pushed the man to the ground, included photos of the victim's injuries — mostly cuts and bruises — and blood-stained clothes.

The allegations have yet to be tested in court.

The rapper and the other two suspects, who have been described as members of his entourage, will remain in custody until trial.

Prosecutor have recommended the Stockholm District Court set aside three days for the trial, which defence lawyer Slobodan Jovicic said is expected to start Tuesday.