There is nothing wrong if a third party is setting technical cookies. You need to be careful with sensitive/personal based or tracking cookies.
You can’t create cookie less sites these days.
Btw. it’s not against the law to block a visitor from your site if he doesn’t accept the cookies. Only sites from the government are not allowed to do that.