Immigration firm wins judicial review against Law Society