Read the media summary and see the whole Constitutional Court Ruling here:

https://www.concourt.org.za/index.php/judgement/269-ahmed-and-others-v-minister-of-home-affairs-and-another