No Death Penalty!
You don't even need to go to court!
Driving with an expired license is one of the so-called "fix-it tickets" and if you look on the citation you were issued, you will see half way down the question: "Is this a correctable offense?" with yes/no boxes, with a check mark in the yes box.
Once you renew your license, all you will have to do is present the ticket along with your renewed license to a police officer either by paying a visit to any police station or by (politely and carefully) approaching or stopping a beat police officer who will then sign the back of the ticket as testimony that the offense has been corrected.
Then pop a copy of the ticket with a check for the (I believe) $10.00 or $15.00 administration fee in an envelope and send it to the appropriate court before your court date. And that will be it; you are not going to be charged with a misdemeanor or any other crimes against humanity or California's Vehicle Code. And there will not be any criminal recorded recorder anywhere for posterity or for F.A.A. inspection.
I can appreciate your concern and understand your being nervous about this matter because my brother is also an airline pilot, and believe me when I say he gets mighty nervous and worries sick about his pilot's license when he mails in the cable bill 5 days before the due date instead of the usual 10 days before the due date.
So, relax. You are all good.
Safe Flying.
fredrikklaw