Thailand's police commissioner apologized Tuesday after seven officers were placed under investigation for allegedly extorting money from a Taiwanese actor who was visiting Bangkok on a holiday.

Charlene An posted on social media that she was traveling in a taxi with friends after a night out in the Thai capital when they were stopped and searched at a checkpoint in the early hours of Jan. 5. She said she was threatened with a criminal charge for having an e-cigarette and later paid $820 before they were able to leave.

Two captains, two senior sergeant majors and three sergeants who were at the checkpoint were transferred to inactive positions while the investigation is ongoing, police said.

THAI ACTIVIST SENTENCED TO 28 YEARS AFTER DEFAMING COUNTRY’S MONARCHY IN FACEBOOK POSTS

"There are still many good police. We must encourage the good ones and deal with the bad ones," police Gen. Damrongsak Kittiprapas told reporters at police headquarters.

Thai actress Charlene An

Taiwanese actor Charlene An speaks during an interview in Taipei, Taiwan, on Jan. 30, 2023. Thailand's police commissioner apologized after seven officers were placed under investigation for allegedly extorting money from Charlene An. (EBC via AP)

THAILAND TO EXTRADITE SUSPECT TO US IN $100 MILLION NJ DELI SCHEME

"I would like to stress that our city has lots of visitors coming. Immigration police, tourist police and local police must take the best care of tourists. And for the incident that has happened, if there is wrongdoing, as the head of the organization, I apologize to the victims affected by what happened," he said.

Anyone found guilty will be punished, he said.

CLICK HERE TO GET THE FOX NEWS APP

Thai police earlier denied the accusation and suggested An was intoxicated and had not been able to produce travel documents, possibly because of a language barrier. Police were unable to produce videos from body cameras from the night, according to local media.