If only there was a solution to having a WHOIS system that is GDPR compliant ....
...but unfortunately it's impossible because there isn't a single TLD registry in Europe who has worked it out, *except absolutely every ccTLD in the 30+ Member States and EEA. *
10 minutes doing WHOIS on Nominet.uk, Denic.de, sidn.nl etc and they'd find a series of acceptable solutions...