In the opinion published Tuesday, the court concluded that Robert Hardy Jr. violated several professional conduct rules while serving in the role of prosecutor.