The law does not mandate cookie banners. Cookie popups are malicious compliance by advertising and analytics companies to continue spying.
The real solution is to tighten what counts as consent.
The real solution is to tighten what counts as consent.
The solution is much simpler - ban targeted ads. The entire purpose of collecting user data is to deliver targeted ads.