The decision was criticised by leading politicians, including President Andrzej Duda.