Interestingly, as a direct outcome of the Nazis misusing this data Germany did not have a census for the longest time.
Here is an article from 1987 on the German protests against the new census, that was also the last Germany-led census: https://www.nytimes.com/1987/05/10/world/germans-stand-up-no... (BUT Germany has fairly strict rules on registration of your place of living, so perhaps a census is now unnecessary)
[deleted]