Poland’s prime minister says that heavily-criticized remarks she made last week at Auschwitz weren’t about refugees as many people assumed.

Beata Szydlo told the wPolityce website Monday that the comments “in no way referred to the issue of migration” and that “this was not even the context.”

Szydlo said last week during a memorial observance at Auschwitz that “in today’s restless times, Auschwitz is a great lesson showing that everything must be done to protect the safety and life of one’s citizens.”

The comments were widely understood as a defense of her conservative government’s refusal to accept refugees as part of a European Union resettlement plan.

That position prompted the European Commission to launch legal action last week against Poland, along with the Czech Republic and Hungary.