VATICAN CITY (Reuters) - Taiwan on Tuesday accused China of trying to make the island nation “irrelevant” in the world community, after Beijing and the Vatican signed a landmark agreement improving ties.

A poster showing the portraits of popes is seen at a Catholic underground church near the village of Huangtuang, Hebei province, China, September 30, 2018. REUTERS/Thomas Peter

Matthew Lee, Taiwan’s ambassador to the Vatican, made the dig in a speech during a reception marking Taiwan’s national day that was attended by Vatican officials, including several directly involved in the negotiations with China.

“Communist China remains committed to making the Taiwan people irrelevant to the United Nations and to excluding Taiwan from playing a meaningful role both in the United Nations family and in the international communities,” he said.

On Sept. 22, the Vatican and Beijing signed a provisional agreement giving the Holy See a long-desired say in the appointment of bishops in China.

In the first concrete sign of a thaw after the signing of the agreement, the Vatican announced on Monday that Beijing would for the first time allow Chinese bishops to attend a major Vatican meeting, known as a synod, that starts on Wednesday.

Although the Vatican insists its deal with Beijing is not political - which Lee emphasized in his speech - diplomats say it is likely a precursor to the Vatican eventually switching diplomatic recognition to Beijing.

Lee, adopting a Biblical comparison, said his country was David and China was Goliath.

“With the assistance of global partners standing up to the rising autocratic authoritarian power (of Beijing) Taiwan will persist, persevere and prevail,” Lee said.

The ranks of those partners has been thinning, however.

The Vatican is Taiwan’s last remaining diplomatic ally in

Europe. The self-ruled island has formal relations with 16 other countries, many of them small, less developed nations in Central America and the Pacific.

Taiwan, which Beijing regards as a renegade province, has

routinely accused China of using dollar diplomacy and bullying

to lure away its allies, charges Beijing has denied.

Since the 1970s, following the United Nations vote to recognize the People’s Republic of China as the sole legal China, the Vatican has not appointed a nuncio, or ambassador, to Taiwan. It has since kept the status of its mission in Taipei at the lower level of “charge d’affaires ad interim,” which diplomats say is to placate Beijing.

Critics have labeled the agreement between the Vatican and Beijing, which was in the making for more than 10 years, as a sellout to the Communist government.

China’s approximately 12 million Catholics have been split between an underground Church swearing loyalty to the Vatican and the state-supervised Catholic Patriotic Association.

Despite the recent agreement, Beijing has not taken any action on long-held Church concerns over clerics in detention, Catholic Church sources familiar with the matter have said.