Communists have always played an active role in the fight by colonial countries for their freedom because the short-term objects of Communism would always correspond with the long-term objects of freedom movements.
In Psalm 72 Solomon prays for power and fame but he says the purpose of influence is to speak up for others and one is the immigrant. He doesn't delineate between legal and illegal.