violating the Code of Judicial Ethics