So the law isn't about little Johnny wanking it to PornHub. It's about control. It's a government that has proven time and time again the only thing it cares about is more control over the people it should be serving being able to get a little more control.
If you already have a faltering cultural and national identity, and immigration - both legal and illegal - is skyrocketing[0][1], it's basically a straight line to see a large cohort of people link the two and and vote for the people saying they will end it. It's also not a remotely "far right" opinion to think that people should not be allowed to come into a country illegally, and if you do come into a country illegally, you should be removed. The idea that this is somehow bad is itself the fringe opinion.
[0] https://en.wikipedia.org/wiki/Modern_immigration_to_the_Unit...
[1] https://en.wikipedia.org/wiki/Modern_immigration_to_the_Unit...