https://addons.mozilla.org/en-US/firefox/addon/consent-o-mat...
It also exists for other browsers.
I am not affiliated,but I have it on my devices and even on my phone, it's quite good and I very rarely get cookie popups now.
That's the problem when you want to be pro-business while keeping the vague intent of protecting privacy.
They didn't mandate cookie banner, you can either not track or add a cookie banner. Of course businesses living off surveillance capitalism will chose the cookie banner. They could have banned tracking altogether, and chose not to because “it's bad for business”.
Same goes for age ID things too.