It all comes down to the jury, none of those things matter. The bigger issue here: he knew those messages weren’t him, so the lawyer should’ve gone full force to figure out how this happened. I would guess his lawyer didn’t really believe him
It was a judge, not a jury.
And yeah, the trial lawyer failed to make the case, but if the defendant couldn't raise money for a defense, they he likely didn't have any experts to refute the prosecution's evidence.
> I would guess his lawyer didn’t really believe him
Then you'd ask to change lawyer. If they can apply a standard practice of care and do basic checks like matching a username and time of use because they don't "believe" you when you say these are not you messages, they are not doing their job as a lawyer.
I'd go as far as saying such basic checks not being done amount to negligence/malpractice, they might have a civil case against that lawyer.