How would you even 'force to be a race' ?
You can force people's gender by criminalizing gender affirming care
Do you think banning blackface is remotely comparable?
Whiteness is an exclusionary concept, it's entire purpose is to create an in-group and out-group.