PYONGYANG, North Korea — Dennis Rodman, the former NBA bad boy who has palled around with North Korean leader Kim Jong Un, flew to Pyongyang on Tuesday on a trip he says he hopes will “open a door” for his former “Celebrity Apprentice” boss — U.S. President Donald Trump.

Rodman, one of the few people to know both of the nuclear-armed leaders, sported a black T-shirt advertising a cybercurrency used to buy and sell marijuana as he talked to reporters briefly before boarding his flight from Beijing to the North Korean capital.

Rodman’s arrival in Pyongyang was relatively low-key and his schedule remained a mystery.

He was met by North Korean Vice Minister of Sports Son Kwang Ho. Officials said he was to stay until Saturday. He breezed through customs and immigration at Pyongyang’s airport before being whisked away to his hotel.

“I’m just here to see some friends and have a good time,” he said.

Rodman received the red-carpet treatment on his four past trips since 2013, which generated a lot of publicity — most of it not good — and did little in terms of diplomacy. On this trip, he has already been roundly criticized by some for visiting during a time of high tensions between the U.S. and North Korea over its weapons programs and recent missile launches.

“Well, I’m pretty sure he’s pretty much happy with the fact that I’m over here trying to accomplish something that we both need,” Rodman said in Beijing when asked if Trump was aware of the trip.

Rodman said the issue of several Americans currently detained by North Korea is “not my purpose right now.”

In Tokyo, a visiting senior U.S. official said Rodman is making the trip as a private citizen.

“We are aware of his visit. We wish him well, but we have issued travel warnings to Americans and suggested they not travel to North Korea for their own safety,” U.S. Undersecretary of State Thomas Shannon told reporters after discussing the North Korean missile threat and other issues with Japanese counterparts.

In 2014, Rodman arranged a basketball game with other former NBA players and North Koreans and regaled leader Kim with a rendition of “Happy Birthday.” On the same trip, he suggested an American missionary was at fault for his own imprisonment in North Korea, remarks for which he later apologized.

Any visit to North Korea by a high-profile American is a political minefield.

Rodman has been criticized for failing to use his influence on leaders who are otherwise isolated diplomatically from the rest of the world. He has generally brushed off such criticism as unfair because as an athlete and celebrity he shouldn’t be expected to solve difficult political problems.

Americans are regarded as enemies in North Korea because the two countries never signed a peace treaty to formally end the 1950-53 Korean War. Thousands of U.S. troops are based in South Korea, and the Demilitarized Zone between the North and South is one of the most heavily fortified borders in the world.

A statement issued in New York by a Rodman publicist said the former NBA player is in the rare position of being friends with the leaders of both North Korea and the United States. Rodman was a cast member on two seasons of Trump’s TV reality show “Celebrity Apprentice.”

Rodman tweeted that his trip was being sponsored by Potcoin, one of a growing number of cybercurrencies used to buy and sell marijuana in state-regulated markets.

There is an internet urban legend that North Korea is a pothead paradise and maybe even the next Amsterdam of pot tourism. But the claim that marijuana is legal in North Korea is not true — it’s considered a controlled substance in the same category as cocaine and heroin.

Americans have been sentenced to years in North Korean prisons for such seemingly minor offenses as stealing a political banner and likely could not expect leniency if the country’s drug laws were violated.

Associated Press journalists Mark Schiefelbein in Beijing and Mari Yamaguchi in Tokyo contributed to this report.

The former Bulls star and contestant on Donald Trump’s reality TV show “Celebrity Apprentice” is one of the only Americans to have met with the North Korean leader.

During his 14 seasons with five teams in the NBA, Rodman won five championships and was named an All-Star twice. Nicknamed “The Worm” for his defensive and rebounding abilities, Rodman was a member of the Bulls from 1995 to 1998.