Assuming your friend lives in a democracy, and assuming your friend wants you randomly visiting, then if as you say your friend didn't vote on the immigration laws, tell them to be more active.
Have them write to their politi-critters. Get the law revisited. If enough of your friend's friends also agitate and your neighbors generally agree or at least don't oppose, the law will be revised -- problem solved.
If, on the other hand your friend is in the minority, and you being able to visit without immigration permition is still that important to them, they are welcome to emigrate to somewhere visits without visas are open to you.