Donald Trump has been condemned for sending the US special presidential envoy for hostage affairs to Sweden for A$AP Rocky‘s trial.

The Harlem rapper, whose real name is Rakim Mayers, is accused of beating a 19-year-old man in Stockholm on 30 June.

Mr Mayers is accused of assault, alongside two others and the street-fight has become a point of contention in US-Swedish diplomacy.

On Tuesday the 30-year-old pleaded not guilty to the charge as his trial opened. He claimed to have acted in self-defense.

Robert O’Brien, the special envoy, has been sent to Stockholm by Mr Trump to monitor court proceedings and to show support for the rapper, according to Swedish news agency TT.

Trump 2020 launch: Fascist Proud Boys, baby blimps and Uncle Sam Show all 30 1 /30 Trump 2020 launch: Fascist Proud Boys, baby blimps and Uncle Sam Trump 2020 launch: Fascist Proud Boys, baby blimps and Uncle Sam Members of the Proud Boys, a fascist group, jeer at anti-Trump protesters outside of the president's 2020 campaign launch in Orlando, Florida Getty Trump 2020 launch: Fascist Proud Boys, baby blimps and Uncle Sam A supporter dressed as Uncle Sam poses at Uncle Sam Reuters Trump 2020 launch: Fascist Proud Boys, baby blimps and Uncle Sam A baby blimp rears its head amidst a group of anti-Trump protesters outside the president't campaign launch in Orlando, Florida Getty Trump 2020 launch: Fascist Proud Boys, baby blimps and Uncle Sam President Trump addresses supporters at the launch event of his 2020 election campaign in Orlando, Florida Reuters Trump 2020 launch: Fascist Proud Boys, baby blimps and Uncle Sam Proud Boys have adopted Fred Perry polo shirts as their uniform and many members have the name of the group tattooed on their arms Getty Trump 2020 launch: Fascist Proud Boys, baby blimps and Uncle Sam A line of police officers separate opposing groups of protesters outside the launch of President Trump's 2020 campaign launch Getty Trump 2020 launch: Fascist Proud Boys, baby blimps and Uncle Sam A protester hits a Trump punching bag during a protest outside Trump's 2020 campaign launch in Orlando, Florida Getty Trump 2020 launch: Fascist Proud Boys, baby blimps and Uncle Sam Twin Trump supporters pose for a photo at the president's 2020 campaign launch in Orlando, Florida Reuters Trump 2020 launch: Fascist Proud Boys, baby blimps and Uncle Sam A protester dressed as a caricature of Donald Trump stands outside the president's 2020 campaign launch in Orlando, Florida AP Trump 2020 launch: Fascist Proud Boys, baby blimps and Uncle Sam A Trump supporter faces off against a protester outside the president's campaign launch in Orlando, Florida AFP/Getty Trump 2020 launch: Fascist Proud Boys, baby blimps and Uncle Sam A Proud Boy shouts across the police line at anti-Trump protesters outside the president's campaign launch in Orlando, Florida Getty Trump 2020 launch: Fascist Proud Boys, baby blimps and Uncle Sam A Trump supporter poses for a photo at the president's 2020 campaign launch in Orlando, Florida Reuters Trump 2020 launch: Fascist Proud Boys, baby blimps and Uncle Sam A Proud Boy jeers at anti-Trump protesters who are separated from the president's supporters by a police line outside the president's campaign launch in Orlando, Florida Getty Trump 2020 launch: Fascist Proud Boys, baby blimps and Uncle Sam A man dressed as Uncle Sam poses at President Trump's 2020 campaign launch in Orlando, Florida Reuters Trump 2020 launch: Fascist Proud Boys, baby blimps and Uncle Sam An anti-Trump protester faces off against a supporter outside the president's campaign launch in Orlando, Florida AFP/Getty Trump 2020 launch: Fascist Proud Boys, baby blimps and Uncle Sam Members of the Proud Boys, a fascist group, jeer at anti-Trump protesters outside of the president's 2020 campaign launch Getty Trump 2020 launch: Fascist Proud Boys, baby blimps and Uncle Sam A child holds a 2020 US "dollar bill" that features Donald Trump's face at the president's 2020 campaign launch EPA Trump 2020 launch: Fascist Proud Boys, baby blimps and Uncle Sam Anti-Trump protesters rally outside the president's 2020 campaign launch in Orlando, Florida Getty Trump 2020 launch: Fascist Proud Boys, baby blimps and Uncle Sam Anti-Trump protesters rally outside the president's 2020 campaign launch in Orlando, Florida Getty Trump 2020 launch: Fascist Proud Boys, baby blimps and Uncle Sam Numerous baby Trump balloons are raised in protests outside of the president's 2020 campaign launch in Orlando, Florida Getty Trump 2020 launch: Fascist Proud Boys, baby blimps and Uncle Sam A supporter wears a T-shirt depicting Trump as a hero at the president's 2020 campaign launch in Orlando, Florida Reuters Trump 2020 launch: Fascist Proud Boys, baby blimps and Uncle Sam President Trump addresses supporters at the launch event of his 2020 election campaign in the Amway Centre in Orlando, Florida AFP/Getty Trump 2020 launch: Fascist Proud Boys, baby blimps and Uncle Sam An anti-Trump protester calls for the president to be impeached outside the launch event for his 2020 campaign launch in Orlando, Florida Getty Trump 2020 launch: Fascist Proud Boys, baby blimps and Uncle Sam Supporters of Donald Trump face off against protesters outside of the president's 2020 campaign launch in Orlando, Florida AP Trump 2020 launch: Fascist Proud Boys, baby blimps and Uncle Sam A baby blimp rises behind a group of anti-Trump protesters outside the president's campaign launch in Orlando, Florida AP Trump 2020 launch: Fascist Proud Boys, baby blimps and Uncle Sam A supporter dressed as Uncle Sam poses at President Trump's 2020 campaign launch in Orlando, Florida AP Trump 2020 launch: Fascist Proud Boys, baby blimps and Uncle Sam A member of the Proud Boys, a fascist group, holds a sign up outside of the president's 2020 campaign launch in Orlando, Florida AFP/Getty Trump 2020 launch: Fascist Proud Boys, baby blimps and Uncle Sam A supporter bears a Trump flag at the president's 2020 campaign launch in Orlando, Florida Reuters Trump 2020 launch: Fascist Proud Boys, baby blimps and Uncle Sam Protesters hold baby Trump balloons in the rally outside of the president's 2020 campaign launch in Orlando, Florida Getty Trump 2020 launch: Fascist Proud Boys, baby blimps and Uncle Sam An anti-Trump protester holds a sign accusing the president of being a traitor Getty

It is unclear why Mr O’Brien, whose job is to advise the government on hostage issues, was selected for the trip.

Dan Baer, a former US ambassador to the Organisation for Security & Cooperation in Europe, called the move a “shameful abuse of a serious office.”

“Imagine how seriously O’Brien will be taken by other actors now that he has made a mockery of himself by allowing his office to be instrumentalized thus,” he said on Twitter.

“Trump’s clown like behaviour makes us weaker.”

Suzanne Maloney, the deputy director of Foreign Policy at the Brookings Institution, described the situation as “ridiculous”.

“It’s also incredibly infuriating [especially] when there are at least a half dozen Americans sitting in Iranian prisons, some of them for years,” she said.

“What is the Trump administration doing to free Siamak & Baqr Namazi, Xiyue Wang, Michael White, Bob Levinson?”

The president had demanded that Sweden release the rapper in a series of tweets published earlier this month.

“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,” he said.

“Treat Americans fairly!”

The president also called on the Swedish government to “give A$AP Rocky his freedom”.

Mr Trump spoke to Stefan Lofven, the Swedish prime minister and offered to personally guarantee the rapper’s bail but was told Mr Lofven could not intervene in a legal case.

Support free-thinking journalism and attend Independent events

A senior Trump administration official, speaking on the condition of anonymity, said the special envoy’s presence at the trial was part of an effort to convey the president’s concern.

Mr O’Brien is also in Stockholm support the US citizens involved “and, to, hopefully, bring them home”, the official added.

During the trial prosecutors said 19-year-old Mustafa Jafari and a friend got into an argument with Mr Mayers and one of his bodyguards near a fast-food restaurant where the rapper’s entourage had eaten.

They allege in court documents that Mr Mayers and the two other men thought to be part of his entourage beat and kicked the teenager while he was on the ground.

Witnesses in the case are expected to testify on Thursday.

The trial continues.