BEIJING — A Chinese kindergarten principal has apologized after allowing a pole dancer to perform on the school’s opening day. Yes, you read that right. A Chinese kindergarten thought it was a good idea to have a scantily clad woman writhing around a pole in the school courtyard on Monday.

American writer Michael Standaert, who is based in the southern city of Shenzhen, was surprised, to say the least, when he and his wife took their children to the privately run Xinshahui kindergarten in the Bao’an district of Shenzhen on Monday.

There, on a stage in the courtyard, in front of rows of children aged 3 to 6, all first-day-ready in pristine white shirts and neatly pressed black shorts, a woman did a routine that would not be out of place in a downtown strip club.

Dressed in a tight, black midriff-baring top, black leather hotpants and high black sandals, she flung herself around the pole and down on the floor, flicking her hair suggestively.

Some little boys can be seen laughing and swinging around each other, while the little girls in red majorette-style outfits in the front appear frozen still. Several mothers can be seen hurriedly shooing their children away from the scene.

“Who would think this is a good idea?” Standaert asked above one of several videos he posted on Twitter.

“The principal hung up on my wife when she called after saying it was ‘international and good exercise’ … OK, yeah for adults maybe, but not 3- to 6-year-old kids,” he added.

There were also advertisements for a pole dancing school around the school courtyard, leading Standaert to wonder if the principal had accepted money in return for allowing the unusual display.

After the videos garnered lots of unwanted attention on the internet, the Bao’an educational bureau said the pole dance was “inappropriate.” In a statement on Weibo, the Chinese answer to Twitter, the bureau asked the owner of the kindergarten to apologize to the parents and the public, and to sack the principal.

The principal of the kindergarten, Lai Rong, issued an apology, saying she thought “inviting professional dancers to the kindergarten to perform for the parents would liven up the mood” on the first day back. “I did not think through the contents of the performance … It was a very terrible viewing experience for the kids and the parents. For that, I sincerely apologize,” according to a report on Weibo of her message to parents.

Many Weibo commenters said it was not an appropriate spectacle for a kindergarten. But not everyone disapproved.

“This is probably something to encourage the dads to pick up their kids,” said Weibo user @Janson_Mou. “If my daughter’s kindergarten is like this, I will go pick her up every day.”

The idea of having pole dancers or strippers at an event not usually associated with exotic dancing is not entirely new in China.

In 2015, the Chinese Culture Ministry cracked down on the “bizarre and increasingly popular” habit of having half-naked women perform at funerals, which was “corrupting the social atmosphere.”