A Sydney court found a retired doctor living on the NSW South Coast property for a peppercorn sum had his licence unlawfully terminated.