I don't know anything about the details of this case, but based on what you're telling me it seems he's basically admitted to criminal fraud.

I can understand why his lawyers would take him on, regardless of expected result or even the issues regarding being paid. It puts their name out there. Some might argue that being a Trump lawyer isn't good for your reputation, but that's for the lawyers to decide.