That's what happens when we put government in charge of defining rights.
The fact that they're not recognizing the rights of a certain group of people doesn't mean those folks don't have rights. It just means the the current political whims are not in favor of recognizing certain human rights as being legitimate to certain humans.