City judge sues city attorney