Get breaking news alerts and special reports. The news and stories that matter, delivered weekday mornings.

KUALA LUMPUR, Malaysia — North Korea doesn't have many friends. There's China, its closest ally, and Singapore, where the North Korean elite have long gone in search of investors and shipping contracts. There are neighbors like Russia, and other nations isolated by politics and sanctions, like Syria and Cuba.

Until recently there was also — sort of — Malaysia. While it isn't one of Pyongyang's key diplomatic partners, it is one of the few places in the world where North Koreans can travel without a visa. As a result, for years, it's been a quiet destination for Northerners looking for jobs, schools and business deals. Today, you can find North Koreans studying in Malaysian universities, working in Malaysian mines and managing computer systems for Malaysian companies.

"North Koreans can act freely in Malaysia," said Lee Jaehyon, an analyst with the Seoul-based Asan Institute for Policy Studies.

But for how long?

Last week, a long-estranged member of the North Korean ruling family was apparently poisoned by a pair of female attackers as he walked through the budget terminal of the Kuala Lumpur airport. Kim Jong Nam, the half brother of North Korea's ruler, died soon after as he was being taken to a hospital.

A diplomatic spat flared when Malaysian officials ordered an autopsy on the body, despite demands from North Korean diplomats that the corpse immediately be turned over to them.

The Morning Rundown Get a head start on the morning's top stories. This site is protected by recaptcha

Malaysian police also arrested one North Korean in connection with the attack, and publicly announced the names of four other Northerners it wants to question, but who had left the country soon after the attack.

"Malaysia is very embarrassed," Lee said. "This incident has caused significant damage to Malaysia, and its image of safety and political stability."

Malaysian officials, he said, were working to get past the incident as quickly as possible, fearing trouble for its tourism industry and its ability to attract foreign investment.

While officials insist they are following normal procedures with the investigation, the North Korean ambassador to Malaysia, Kang Chol, reacted with fury.

The two female suspects, he told reporters Monday, could be "fabricated ... to hide the true cause of death." A second autopsy was an "attempt to mangle again his body" and constituted human rights abuse, he said. Malaysian police "pinned the suspicion on us and targeted the investigation against it."

A still image taken from security footage appears to show a man purported to be Kim Jong Nam (circled in red) being accosted by a woman in a white shirt at Kuala Lumpur International Airport in Malaysia on Feb. 13. FUJITV / via Reuters TV

The entire investigation has been "politicized by Malaysia in collusion" with North Korea's bitter enemy, South Korea, he said.

Malaysia then responded with its own fury, with a foreign ministry statement saying the ambassador's allegations were "culled from delusions, lies and half-truths" and denying any collusion with Seoul.

Malaysian Prime Minister Najib Razak said the investigation had proceeded properly.

Malaysia has no reason to "want to do something that would paint North Koreans in a bad light," he told reporters. "But we will be objective and we expect them to understand that we apply the rule of law in Malaysia."

Experts remained unsure about the diplomatic fallout from the killing and the increasingly incendiary language.

In the short run things are clearly rocky. Malaysia has recalled its ambassador from Pyongyang "for consultations," and called in the North Korean ambassador to explain his comments about the investigation.

North Korean leader Kim Jong Un visits a catfish farm in an undated photo released by the state-run Korean Central News Agency (KCNA) on Tuesday. KCNA / Handout via Reuters

But it can be hard to parse the level of vitriol in North Korea's official statements, which often include tsunamis of angry accusations and casual threats of nuclear annihilation.

"The North Koreans have a long-standing tradition of diplomatic bluster," said Er-win Tan, a scholar at the University of Malaya who has studied North Korea. "They have a very deeply embedded siege mentality, so I wouldn't read too much into what North Korea is saying." And if the two countries were not best friends "prior to this episode, the ties were relatively good, driven mostly by economic and trade considerations."

Many observers note that North Korea has little space — diplomatically or economically — to drive away the few friends it has. While trade between North Korea and Malaysia totaled just $5.1 million in 2015, that's a serious number in a country that exported just $3.1 billion in goods in 2014, and imported just $3.9 billion.