A dispute is escalating between Hong Kong and Taiwan over the fate of a murder suspect, whose case was used as justification for the introduction of an extradition bill that ignited protests more than four months ago in Hong Kong.

Chan Tong-kai is being released from jail in Hong Kong on Wednesday, after serving a sentence for money laundering. Local media reported Monday that his offer to surrender himself to surrender himself to authorities in Taiwan, where he is accused of murdering his pregnant girlfriend, was deemed insufficient by the Taiwanese, who insisted that formal talks were required to accept him within a legal framework.

The Hong Kong government responded with a statement saying that the case should be handled informally, and that Taiwan’s acceptance of Chan should have nothing to do with whether or not there is a mechanism in place for criminal judicial assistance.

Experts say the complicated relationship between Hong Kong, Beijing and Taiwan is behind the standoff.

“If Taiwan were to accept, Taipei would implicitly accept [its] position as similar to Hong Kong, as being a part of China,” Willy Lam, an adjunct professor at the Chinese University of Hong Kong’s Center for China Studies tells TIME. Taiwan, he says, only wants to accept Chan if it is done under a specific agreement—in effect recognizing Taiwan as a sovereign entity and not the renegade province that Beijing says it is.

“We hope the authority would handle the matter pragmatically and in accordance with common sense,” the Hong Kong government said in a statement. “It must be emphasized that Chan will be a free man upon prison discharge,” it says. “It is up to him whether to go to Taiwan.”

Taiwan’s upcoming January presidential election may also be playing a part in Taiwan’s tough stance on the issue. Lam says that Taiwan’s President Tsai’s popularity has shot up dramatically since the Hong Kong protests kicked off in June.

“President Tsai Ing-wen is reluctant to give up the benefits she has reaped from Hong Kong’s protest movement the past four months,” Lam says.

Chan, 20, wrote a letter to the Hong Kong government on Friday confirming his decision to hand himself over to Taiwan authorities and asking the Hong Kong government to help him make arrangements to get to Taiwan. He has served 18 months behind bars on charges related to the theft of the victim’s property.

According to Hong Kong’s South China Morning Post newspaper, Chan admitted to killing his girlfriend and disposing of her body while on a trip to Taiwan in February 2018. She had told Chan prior to the trip that she was pregnant, but while in Taiwan told him that the father of her unborn child was her ex-boyfriend, the Post says. Chan fled home to Hong Kong after the incident. Authorities in Hong Kong say they do not have enough evidence to charge him with the murder.

Hong Kong’s leader, Chief Executive Carrie Lam, used the case to justify an attempt to rush through a bill that would have allowed the transfer of criminal suspects to jurisdictions with which the territory has no extradition agreement. But the proposed legislation would have also allowed suspects to be sent to mainland China, which raised alarm bells with Hongkongers, who worried that the law would be used by Beijing round up dissidents and critics of the communist regime.

Opposition to the proposed legislation—which the government suspended in June and which Chief Secretary Cheung told media will be formally withdrawn at a meeting of the city’s Legislative Council on Wednesday—triggered mass protests in June. The protests have since snowballed into push for greater political freedom and a repudiation of Beijing’s sovereignty over the former British colony.

Adjunct professor Lam says that if Taiwan accepts Chan without putting a formal agreement in place, “by some interpretations, it might be construed as accepting the basic rationale of the extradition bill.”

Hong Kong’s Chief Executive said it is a relief that Chan has offered to turn himself in, and that she hopes his decision will help calm the situation in the city.

Original Article