There is also the option of not messing around with personal data. It would get rid of all the cookie notices that are there, as well as not adding new ones.
The point is that if you go by the logic of this court decision, you need a consent also for js libraries, images, etc. and their primary purpose isn't to gather data. So, to get rid of all notices, you would have to host absolutely everything yourself.