GOTHENBURG, Sweden — A music festival without cisgender men?

That is the aim of what is being called the world’s first music festival exclusively for women and transgender and nonbinary people in Gothenburg, Sweden.

Called the Statement Festival, the event began on Friday and runs through Sunday, and it has the unequivocal goal of creating a safe space for women. That means, in the eyes of the organizers, no cisgender men are allowed. (Cisgender people identify with the sex they were assigned at birth. Nonbinary people say their gender cannot be defined as “man” or “woman” and may fluctuate between the two.)

The festival is occurring after a wave of episodes of sexual harassment at other events in Sweden, including allegations of rape and 23 sexual assaults at the country’s biggest music festival, Bravalla, which was canceled this year because organizers could not guarantee a safe environment.

The concept sprang from a tweet by the Swedish comedian and radio host Emma Knyckare that ricocheted around Sweden. “What do you think about us putting together a very cool festival where only non-men are welcome and that we host until ALL men have learned how to behave themselves?” Ms. Knyckare posted on Twitter in July 2017.