It was the attorney's job to get Rice the lightest penalty possible. Which he did. Smearing the victim afterwards to try to sway public opinion on the result... that was a little freebie he threw in after his work was completed... hypothetically because he's a "ghoulish dick."
An attorney is never under any obligation…