In the 1888 encyclical Officio Sanctissimo, Pope Leo XIII encouraged Catholic participation in the legal system to change unjust laws. Part of this document asserts:
 Effectively the laws give Catholics an easy way of seeking to amend the condition and order of the State and to desire and will a constitution which, if not favourable and well-intentioned towards the Church, shall at least, as justice requires, be not harshly hostile. It would be unjust to accuse or blame any one amongst us who has recourse to such means, for those means, used by the enemies of Catholicity to obtain and to extort, as it were, from rulers laws inimical to civil and religious freedom, may surely be used by Catholics in an honourable manner for the interests of religion and in defence of the property, privileges, and right divinely granted to the Catholic Church, and that ought to be respected with all honour by rulers and subjects alike.
Claudia Carlen, ed., The Papal Encyclicals: 1878–1903 (Ypsilanti, MI: Pierian Press, 1990), 154.
I’m struck by differing assumptions compared to the American experience of the last few years. Courts strike down laws passed to defending moral rights, The government vetoes or ignores laws they swore to uphold (without suffering repercussions for dereliction of duty). In fact, executive orders and judicial diktats deny believers the right to promote laws benefiting the common good, and target them for refusing to accept the moral changes the political and cultural elites impose on society.