Prosecutors in Poland are investigating commentators who joked on a right-wing television station that migrants should be sent to Auschwitz or be tattooed or microchipped like dogs, and some companies have pulled advertising from the broadcaster.

The remarks were made over the past week by guests on TV Republika, a private station whose role as a platform for conservative views grew after the national conservative party, Law and Justice, lost control of the Polish government and public media.

During its eight years in power, Law and Justice turned taxpayer-funded state television into a platform for programming that cast large-scale migration into Europe as an existential danger. The state media broadcast conspiracy theories, such as a claim that liberal elites wanted to force people to eat bugs, as well as antisemitic and homophobic content and attacks on the party’s opponents, including the new Prime Minister Donald Tusk.