BERLIN — A play based on Adolf Hitler’s youth is sparking controversy for an unusual opening-night deal: Audience members willing to wear a swastika (provided by the theater) during the performance get in free. Those who prefer to pay full price are asked to wear the Star of David.

And the opening night is on the 129th anniversary of the dictator’s birth.

Producers of the play at the theater in Konstanz, a picturesque city in the south of Germany, say the action is part of an attempt to reinvigorate the national conversation about the dangers of fascism.

But the production or collection of Nazi symbols with the intent for distribution or public use is illegal in Germany. The local public prosecutor’s office confirmed it had received several complaints in the days before the play’s opening on Friday.