Like in China?
This misunderstands the concept of a human right. Human rights is pure ideology. It is an ideology of free, self-actuated individual people, which asserts that there are some things that may not legitimately be done to a human being by a government or in pursuance of a social purpose. Whether government or the law recognises those rights is totally immaterial.
In good societies, we say, government does recognise those rights, because a good society is founded on the principle that human beings are ends in themselves and not means towards the achievement of a 5-year target for economic growth. Our society takes the idea so seriously that it has almost discredited it through silliness. The Chinese government does not take it seriously at all. But that does not stop an imprisoned Chinese dissident stating "what the government is doing to me is wrong, because I am a human being and I have rights, common to all human beings and which subsist in my humanity and not in any law, which, if you trespass upon them by subjecting me to arbitrary arrest and detention put you in the wrong and the society you are trying to create in the wrong".
The language of human rights is a part of the language and ideology of natural justice, and is a framework for critiquing law which exists outside of the law. It is one of the ways in which we say "this law is wrong", to which it is no answer to say "but it is the law nonetheless". 🙂