I reckon Sam's lawyer can use this as a plead for a type of temporary insanity because he was under the influence of drugs.
He claimed battling depression in order to be released on bail, when you came to any kind of claim like this the judge will require you to go through an evaluation, which is quite common and it saves the court the trouble of another evaluation when the actual hearing starts as well. Neah, the insanity excuse has flown a long time ago, he can't play that card, especially since that would mean he was under the influence even during events like the testimony in Congress a year ago, he won't go through something that can send him in more troubles, he will just say he was stupid, he made mistakes but he truly believed everything was fine, just like a kid would say he's sorry