Earlier, the apex court was told that the collection of biometric details of citizens by the UIDAI from 2010 onwards till 2016, when the enabling Aadhaar law came into force, was "illegal" and "invalid" and the collected data deserved to be destroyed.