The Enemy Property (Amendment And Validation) Act 2017 ensures that no property deemed to be of the enemy would be passed on to their successors.
In other words, this Act prohibits Indian land being passed on to the successors of those who migrated to Pakistan and China during partition and would have no claim over the properties left behind in India. The Act also prohibits civil courts and other authorities from entertaining disputes related to (deemed) enemy property.
The Raja of Mahmudabad owned several properties over Rs 1 lakh crore in Hazaratganj and various other parts of the Uttar Pradesh and the country. A lower court had given verdict in favor of the heirs of the Raja of Mahmudabad. This called for the old law to be amended, and the Indian government brought a bill which was passed in the Lok Sabha as amended by the Rajya Sabha, which ensured that no properties would go to Pakistani heirs of the erstwhile ruler. This Act replaced the 49 years old law, and the whole right now is vested with the custodian of the government.