A photograph that singer Rihanna posted to her Instagram account has gotten two men in Thailand in trouble, according to CNN.

She was visiting Phuket between stops on her current Diamonds World Tour. On the stop, she took a photograph with a Loris, which is an endangered primate that is native to Southeast Asia.

"Look who was talkin dirty to me!" Rihanna captioned the photograph. It is believed the photograph was taken at Bangla Road, a hotspot in Phuket.

Unfortunately, it's illegal for anyone to charge tourists to take a photograph with a Loris. Wildlife groups have been trying to stop the practice for a while.

Government officials ordered the Ministry of Natural Resources, as well as local Phuket officials, to urgently investigate the matter, according to Phuket's local news.

A raid was conducted on Sunday night and two men were arrested.

"It is very difficult to do the raids because the touts have spies," Awat Nithikul, the leader of the patrol officers, told the Phuket News. "If someone hears that the police are coming their way, there will be a person who calls the touts and tells them to move.

"But this is a big deal because it might affect Thailand's reputation," Nithikul continued.

According to the local report, the two men arrested had two Lorises in their possession that will be returned to a national park in the nearby province of Phang Nga.

The Lorises weren't the only issue Rihanna caused with her social media feed. She tweeted X-rated statements about many of Thailand's top tourist spots, which led to officials trying to explain the situation.

Among the issues was a sex show that the singer tweeted about.

"The authorities and law officials have surveyed the area to arrest and fine those involved [in staging sex shows]," an official said. "But the shows still happen."

CNN coverage of Rihanna's trip to Thailand.