A teenager has been jailed for 15 days and two other women for 10 days after they filmed themselves dancing near a second world war monument in the Russian city of Novorossiysk.

On Saturday, a district court in the Black Sea port city sentenced 18-year-old Margarita Radetskaya – who can be seen in the video, at the head of six girls dancing to the song Touch You Tonight by the Jamaican dancehall artist Aidonia – to 15 days of administrative arrest for petty hooliganism, it said in a statement.

Yana Kutakova, 24, and Yekaterina Scherbedinskaya, 26, received 10 days of administrative arrest, which in Russia is typically served in an interior ministry facility. Alla Korkach, 28, and Viktoria Yurieva, 22, were fined.

Prosecutors said the “erotic and sexual twerk dance” was disrespectful to the memory of those who fought in the second world war.

The parents of a sixth dancer, who was unnamed because she is not yet 18, were charged with “failing to perform parental duties for raising minors” and face being monitored. The mother of the girl was also fined for “failing to take measures to facilitate children’s physical, intellectual, psychological, spiritual and moral growth”.

The girls reportedly filmed the video to promote dancehall classes at a local school, Art Dance, and a photograph from the shoot on Radetskaya’s social network page listed the times that the class meets. But they made the unfortunate choice of shooting it near a seaside monument that marks a 1943 battle that paved the way for the recapture of the region from the Nazis.

In a statement, the regional prosecutor’s office said it had ordered police to bring the memorial’s security provision to account and is investigating the educational institutes where the girls are studying, as well as Art Dance. Police are also investigating whether the girls violated a criminal statute against “desecrating dead bodies and their places of internment”.

The Novorossiysk ruling comes just weeks after a video of young girls in Orenburg twerking as part of a dance number called Bees and Winnie Pooh caused a national scandal. As a result, twerking classes were shut down at the dance school they attended.

Figures including the Yekaterinburg mayor, Yevgeny Roizman, have criticised the punishment given to the Novorossiysk women and Facebook users have expressed their support for the women by posting photographs of locals swimming, sunbathing and drinking alcohol on the beach next to the monument.

But St Petersburg lawmaker Vitaly Milonov, who is known for drafting legislation that inspired Russia’s 2013 law against gay propaganda, praised the administrative arrest and recommended that the women face “corrective labour”. “Next time, excuse me, some brainless she-goat will think twice,” he told FlashNord news agency.

Russia’s role in the second world war has become a major part of current Kremlin rhetoric, which has claimed that Ukraine’s new pro-western government is dominated by “fascists”. In 2014, President Vladimir Putin signed a law criminalising the denial of Nazi war crimes or distortion of the Soviet Union’s role in the war.

Putin will preside over a celebration of the Soviet victory over Nazi Germany in Moscow on 9 May, although western leaders are snubbing the event amid tensions related to Russia’s role in the Ukraine crisis.