Nazis used the census because it was there. Were it not, they would have just went house to house - which they then regularly did anyway.
The antidote of oppression is not the Index statisticum prohibitorum, but quite the opposite, education, and in particular educating about how different each and every one of us is, and yet it doesn't take much to get along well.