“But no one should make the mistake of believing that, as an institution, the Church is devoted to promoting individual liberties, or preserving economic liberty.”
They were when godless communism seemed to be more of a profound threat.
I’m not an expert in Church doctrine, but I believe that the Church’s opposition to Marxism, and by extension Poland’s Communist regime, was based more on Marxism’s aggressive atheism than on its curtailment of economic freedoms.
You must not have heard of "liberation theology". Many Catholics, including Priests and Nuns, were sucked into supporting communist causes in many parts of the world.