Jose and Pedro know what they are doing is illegal. That is all anyone needs to know to convict.
Highly likely that this guy knew the number was fraudulent. Maybe the DA should have charged* him appropriately.
*For the record I have no idea, maybe he was charged with multiple counts and it was just the theft charge the Court rightly tossed.