It could be argued that if the consent prompt can’t be dismissed without providing an answer (whether accept or decline) and you use technical means to circumvent that then it’s fair for the system to track you anyway as it’s undefined behavior?
Many websites are not compliant though, so while its illegal, they're still doing it. For example, GDPR requires opt-in, many websites have opt-out. Its illegal, but if its not being enforced, then...
Many websites and data processors violate this, but since that’s the case for those sites the only winning move is not to play.