Ad blocking happens on your own computer, which you are authorised to make changes to. But simulating a click, therefore making an entry in another person's computer is what makes it unlawful.
But as a proverb says, "the law is like a drawbar, you can bend it as you like".