Thousands of people flocked to a zoo in Japan on Sunday to say farewell to the country's last two giant pandas, who are set to return to China on Tuesday. Emotions ran high at the Ueno zoo in Tokyo as people stood in line – some for as long as three-and-a-half hours – to see twin cubs Xiao Xiao and Lei Lei one last time.

This comes at a very tense moment in relations between Tokyo and Beijing. Ties have sharply deteriorated after Japanese Prime Minister Sanae Takaichi said Tokyo would get involved militarily if China attacked Taiwan. The twins' departure will leave Japan without any pandas for the first time since 1972, the year the two countries normalized diplomatic ties.

The People's Republic of China has used giant pandas as a gesture of goodwill towards its international allies and competitors since it was founded in 1949. But China retains ownership of all pandas it loans to foreign countries, including cubs born abroad. In return, host countries pay an annual fee of about $1m (£790,000) per pair of pandas. According to Tokyo's metropolitan government, some 108,000 people vied to get one of the 4,400 slots available for one last look at the zoo's beloved pandas.

One woman shared her sentiments: I have been bringing my son here since he was a baby, so I hope it becomes a good memory for him. I'm glad we could come today to remember them. Another reflected on the pandas' growth journey, saying, Witnessing their growth, especially since they were so small, has been such a joy.

Xiao Xiao and Lei Lei, born in 2021 at Ueno zoo to their mother Shin Shin and their father Ri Ri, have been central to public affection and tourism in Japan. However, amid worsening diplomatic relations, the idea of a new panda loan to Japan remains uncertain. The situation was further aggravated by Chinese restrictions on exports of rare earth-related products to Japan, escalating the tension between the two nations.}