The EU forcing this garbage is one of the worst things to happen to the web.
The EU didn't actually force cookie banners; they're not the only route to GDPR compliance. The other routes - like only using necessary cookies - were just unacceptable to ad/tracking companies.
But if it was the easiest and cheapest. Their lack of basic foresight is painful and has made the web worse.