The Catholic Church has always said that, though politics and economics should have moral goals, prudence is necessary to ensure those goals are actually met. The Church cannot infallibly demand certain economic-political policies be put in place.
The Church has always said there is a lawful diversity of opinion on economic-political matters:
“If I were to pronounce on any single matter of a prevailing economic problem, I should be interfering with the freedom of men to work out their own affairs. Certain cases must be solved in the domain of facts, case by case as they occur…. Men must realize in deeds those things, the principles of which have been placed beyond dispute….These things one must leave to the solution of time and experience.” -Pope Leo XIII
“It goes without saying that part of the responsibility of pastors is to give careful consideration to current events in order to discern the new requirements of evangelization. However, such an analysis is not meant to pass definitive judgments, since this does not fall per se within the Magisterium’s specific domain…. The Church has no models to present; models that are real and truly effective can only arise within the framework of different historical situations, through the efforts of all those who responsibly confront concrete problems in all their social, economic, political and cultural aspects, as these interact with one another. For such a task the Church offers her social teaching as an indispensable and ideal orientation….” -Pope John Paul II, Centesimus Annus
“Indeed ‘the Church holds that it is unlawful for her to mix without cause in these temporal concerns;’ however, she can in no wise renounce the duty God entrusted to her to interpose her authority, not of course in matters of technique for which she is neither suitably equipped nor endowed by office….” -Pius XI, Quadragesimo Anno
“[E]conomics and moral science employs each its own principles in its own sphere….” -Pius XI, Quadragesimo Anno