The opposition PiS party called it an “attack on the media”.