Sri Lanka, July 17 -- A legal controversy is brewing following the sentencing of a Thai tourist in Arugam Bay, after a social media post questioned how the court interpreted gender in a topless incident involving the foreign national.

The 26-year-old Thai tourist was recently handed a suspended five-year prison sentence by the Pottuvil Magistrate's Court after pleading guilty to charges of indecent behaviour and causing public disturbance.

The individual, identified in court as female, was arrested earlier this week after images emerged on social media showing the tourist walking topless near a hotel.

However, the situation has taken a new turn after a photo of the Thai national's passport, also shared online, shows the sex listed as ...