How does the Supreme Court’s decision on land allotment to IAMC reflect the balance between public interest and government discretion?

The Supreme Court recently upheld a decision that free allotment of land to IAMC is ‘unsustainable’. I want to understand how courts assess the balance between public good and government power in such cases.