So they cannot "register" to vote for a specific political party?
Of course any person can register to vote and indicate a party choice. That has no relation to being associated with a party for election purposes. Indeed, judges do not stand for election at partisan elections.