(CNN) -- Myanmar will allow Rohingya refugees back into the country if they can prove that they are Bengali, Thailand's foreign ministry said. A photograph released by the Thai navy shows a group of men captured on December 12. The agreement was reached in side talks between the Thai and Myanmese foreign ministers during the 14th ASEAN summit, a meeting of Southeast Asian nations held in Thailand over the weekend, said Thai Foreign Ministry spokesman Thairit Charungwat on Monday. Thousands of Rohingya refugees -- a Muslim minority group from Myanmar -- have fled to Thailand over the years, saying they are persecuted by Myanmar's hard-line military government.
@highlight
Amnesty International: Rohingyas face systemic discrimination, persecution
@highlight
Thailand's PM Abhisit: "They will have to be sent back, according to our law"
@highlight
Agreement reached during ASEAN summit
Thailand
Thai
Thai
Thailand
Thailand
Thailand
In recent months, controversy has erupted as the @placeholder military has been accused of intercepting boatloads of Rohingya, sabotaging their vessels and abandoning them at sea.
Thailand
Thai
Thai
Thailand
Thailand
Thailand
About 20,000 Rohingya migrants already live in @placeholder, according to its foreign ministry, which says Thailand is being inundated.
Thailand
Thai
Thai
Thailand
Thailand
Thailand
The latest group of 78 Rohingya boat people, who arrived @placeholder a month ago, has been detained there.