Shabana Mahmood said judges at the UK’s highest court had provided “legal clarity”.