I am sure Tommy's lies played some part in his drug sentencing because the judge is human and thus not able to completely ignore everything else going on with this group. Some people can effectively ignore most of what they hear but still cannot "un-hear" what they have previously heard. It's similar to being in court and having a judge strike certain testimony. That judge orders the jury to not consider that testimony when deciding the case, but there is no way for the judge to order them to un-hear it. I do think, though, that Werter hurt his client more than helped him.