The Bangkok Film Festival has pulled Japanese helmer Junji Sakamoto’s Thailand-set child prostitution drama “Children of the Dark” just days before the fest was due to begin.

Fest execs claim that the pic is “not appropriate for Thai society.”

Pic was denied a permit to shoot in Thailand last year, according to the Thailand Film Office. But the producers managed to shoot in Bangkok by co-producing with a local company.

Programmers at the eight-day fest, which begins on Tuesday, announced the film earlier this month. But when fest sponsor the Tourism Authority of Thailand and the Federation of National Film Assn. were told of the movie’s content, they decided to ax it from the program.

“Even though the bad guys in the movie are foreigners, the movie contains inappropriate content about child prostitution that does not fit with Thai society,” said Federation chairman Jaruek Kaljaruek.

Last year, the fest pulled “Persepolis,” a cartoon based on Marjane Satrapi’s graphic novel about an Iranian girl who comes of age during the country’s revolution, after the Iranian Embassy in Bangkok complained.

“Persepolis” was later released on one screen in Bangkok and ran for nearly two months.