This reminds me of the fate of Jews in occupied Holland in WW2. Prior to the war, religious affiliation was collected by the Dutch authorities for tax exemption purposes - perfectly benign and harmless. Those same records of course fell right into the hands of the Gestapo soon after the Nazis occupied the Netherlands, providing them with a convenient list of names to round up for deportation to the camps.