At a hearing in the summer, San Diego County Superior Court Judge John Thompson wrestled with the decision before him.