Statistics Denmark's compliance with GDPR
The legal basis for Statistics Denmark’s processing of personal data for statistical purposes is article 6(1)(e), article 9(2)(j), article 10 of the GDPR and sections 10 and 11(1) of the Danish Data Protection Act.
https://www.dst.dk/en/OmDS/strategi-og-kvalitet/datasikkerhed-i-danmarks-statistik/danmarks-statistiks-efterlevelse-af-gdpr