purely functional cookies (eg dismissed_banner=true) don't require consent
Store a cookie that notes it has been displayed, but with no ID which can link between sessions.
Enough ID-less cookies become a de facto ID pretty quickly. ID cookies are just the easiest method of fingerprinting users.
This is one of the most harmless uses of a cookie one could imagine. It can only be used to identify someone in combination with other fingerprinting techniques, but applying those without consent would be illegal. Accordingly, its danger can be entirely dismissed here.
Only if one actively uses them that way, in defiance of the laws in question.