The rescue of 12 boys and their soccer coach from a flooded Thai cave, which gripped the country and the world, has also drawn attention to the plight of "stateless" children in the country.
At least three of the boys, as well as their coach, are refugees. Like tens of thousands of others who sought refuge in Thailand, they have few rights and legal protections, leaving them vulnerable to abuse and exploitation, campaigners said.
"They are not recognised as citizens of any country and they are typically poor, with restricted right to travel, work or access benefits," said Matcha Phoru-in, an activist who works with undocumented refugees in northern Thailand.
"Children face difficulty in getting into schools and in completing their education. Boys may be sent to Buddhist temples or church shelters because the parents think they are better off there," she said.
There are about 487,000 stateless persons registered with the Thai government, of whom 146,269 are under the age of 18, according to data from the United Nations refugee agency.
Activists say the actual number may be 3 million.
Thailand is not a signatory to the 1951 Refugee Convention, which spells out legal obligations to protect refugees.
Thailand has, however, pledged to develop a screening system for refugees to combat trafficking, and to increase their access to education, healthcare and birth registration.
The country has also committed to end the detention of refugee children.
Worldwide, a record 68 million people have been forced to leave their homes, according to the U.N. refugee agency. Children make up more than half that number.
A survey released by UK-based Save the Children last month showed that refugee children in Bangkok and Jakarta are at heightened risk of trafficking and forced labour.
To qualify for citizenship, the child must be born in Thailand, and the parents must belong to a recognised ethnic group, and have lived in the country for several years.
On Tuesday night, the last of the "Wild Boars" soccer team was rescued from the Tham Luang cave, near the border with Myanmar, ending a 17-day ordeal that made front-page headlines across the world.
Among the highlights of the rescue was a stateless boy who communicated in English with the divers who found them. Local media reported he was born in Myanmar and had moved to Thailand.
While Thailand's citizenship policy offers several options to refugees, the conditions can be strict, said Save the Children's Ratirose Supaporn.
"The paperwork can also be confusing for people with little education, and implementation at the local level can take time," she said.
"That means people can remain undocumented for a long time."
(This story has not been edited by NDTV staff and is auto-generated from a syndicated feed.)
Teenager Who Survived Thai Cave Rescue Dies In UK After Sustaining Head Injury Elon Musk Sued By Thai-Cave Rescue Volunteer He Called A "Child Rapist" Thailand Film Company To Retell Cave Rescue Saga On Screen 'Entire NEET Paper Solved In 45 Minutes Before Exam?': Top Court To Centre "Had God On My Side": Donald Trump Recounts Being Shot At During Rally 32 Dead In Bangladesh Unrest, Protesters Set Fire To State TV Headquarters "Every Time I Try To Eat Healthy" - Video Creator's Editing Skills Amaze Internet Watch: Comedian's Wholesome Interaction With Indian-Origin Woman Is Viral Donald Trump Accepts Republican Nomination Amid Chants Of USA From Crowd Track Latest News Live on NDTV.com and get news updates from India and around the world.