I think there’s a difference between human rights and legal rights. For instance people in North Korea have a right to freedom of thought, all people everywhere do, but that doesn’t mean their government recognises that right, or that they have the legal right. India, mind you, doesn’t have the legal right to block me from viewing this Wikipedia article in Australia, but it seems like they have the ability to do so.
I guess ultimately this comes down to whether you believe a government and the rights it enforces is legitimate because it has the biggest guns, or because that government was decided by the people, or the legitimacy is determined by the ethics of the government etc