Google treats this as an important ranking factor. That being said, it also values authority, and the websites that pull such nonsense tend to have such authority.
The bigger your website is, the more annoyances you can get away with.
The bigger your website is, the more annoyances you can get away with.