Why did the Supreme Court uphold the Assam Accords-based Section 6A of Citizenship Act

Explanation on the Supreme Court's decision regarding Section 6A of Citizenship Act based on Assam Accords