Arrayed against the policy of the elected government of Poland (which ran for election twice on this policy) is: the EU Commission (not elected), the decisions of the European Court of Human Rights (not elected), the Council of Europe / Venice Commission (not elected), and any number of Polish judges — all appointed by a process wholly insulated from democratic control. But I repeat myself.
I cannot prove this, but I expect if during our domestic squabbles involving the elected arms of the government manipulating the federal courts (circa 1802, and again circa 1863, or even today in relation to court packing) a bunch of international organisations told us what to do, such interventions would not have been (and will not be in the future) very welcomed, and might very well have made (and will make in the future) normal political compromise less likely.
“Purge”. If you want more Trump … but I repeat myself.