My great uncle was a Jesuit who was trained back in the 1930’s. If the government had attempted such a thing in his day, parish Priests would have been at the pulpit in every Mass instructing the faithful that “it is a SIN to cast your vote to re-elect this man!”
Have a few here, including deacons, who do this in a diplomatic but unequivocal way
Lost a bunch of mexican families who consider it a sin to vote republican (they go by the mexican version of that party, not being assimilated)
Dominican nuns in the ‘60s were talking that way, also. Their message got lost on a lot of people for various reasons including their being old burnt out and too tough ( abusive in some cases)
G Weigel in I think “Goodbye Good Men “ talks about th Jesuits and their rejection of HV. Got lots of J devotees in my family too
‘The Courage to be Catholic’ might be it
Anything by weigel is good. But i think this is the one i read it so long ago