That too is subject to the EU ePrivacy Directive, so the idea is you're supposed to be able to report someone who does this to your national ombudsman, like the ICO's office in the UK, and they'll fine the offender.
The language in the ePrivacy Directive always talks about tracking terminals (devices.) It's not just about cookies, or browsers. You need the user's consent to track their device, period. (However you don't need consent for e.g. basic cookies that are necessary for a site to function, and which aren't used for tracking.)