When in 1940 the German occupiers took over, those records turned out to be very useful for their genocide.
*religious affiliation
It makes sense that ethnicity would have been recorded as well, but FAFAIK the Germans mostly used the data on religious identity (i.e. which persons were a member of which church community).