Yeah and that's exactly what shouldn't happen. Government's should not have a power to ask a private company for data under any circumstances and they should not make "race" a compulsory data to submit, so that you could exercise your rights.
In some European countries government (and private entities) isn't allowed to collect ethnicity information.
It's not like you care about all the thing you enumerated, they literally ask you for your "race" when getting a driver's license, which is the defacto ID document anyways. You're installing flock cameras everywhere and gargling palantir's balls while they implement the surveillance state.