That's not a dark pattern though. Potentially poor behavior, sure, but dark pattern, no.
Maybe as someone with above-average technical ability this looks obvious to you. To a lot of people, it isn't. And this pattern is aimed at fooling the less technically literate.
The requirements to have unticked checkboxes predates GDPR.