I don’t know that there’s any irony there. In my reading, the passage is actually advocating against such laws. And is aimed at the kind of thinking that leads to such laws.
I don’t think he is condoning or advocating for such thinking in that passage - more saying that, if you do want these kind of laws (while he lists some contemporary examples) you have to realise that it won’t actually work and will have other, negative consequences. That’s not him necessarily condoning the thinking or actual moral standing of those examples. Just pointing out what he sees are the realities of such laws.
I am going to invoke the XKCD comic on you in return.
I work in a library. I help people with computer issues every day on their personal computers and the public ones…
99% of people would freak out if you expected them to know what Task Manager even is, let alone what it does or how to open it.
This entire conversation is vastly overestimating people’s abilities and confidence when it comes to computer use.