Interesting, I've never seen that before as I don't work with mods often.
I found a potential solution though:
In Data, open the tab for Edit Advanced Game Data -> Races. Pick a race there and you'll see a field called Flags+ which has a field called "Selectable". Try unchecking that and see if that prevents people from picking that race.
1