In a judgment set to be appealed, the judge said lawyers had to set an example to all South Africans during the national lockdown