The controversial reform has caused an intense and protracted dispute between the Polish government and the European Commission.