Firstly understand the meaning of inheritance which is given below before going into your question:
Inheritance is the practice of transferring property, titles, debts, rights, and obligations to the legal heir of a person upon the death of that person either by way of 'Will' or through the prevalent laws of succession
Therefore to your question:
The legal heirs of the deceased owner are entitled to inherit the property as successors in interest in the manner known to law.
If the eligible legal heirs of the deceased are deprived of their rights then they can approach a proper court of law with a lawsuit making a claim to inherit the property and for possession of the same as per prevailing law of the land.