Solicitor branded incompetent by High Court judge