I would only go to traffic court to fight the ticket
IF... the second truck driver was driving in a manner that prevented you from being able to pass. Like if HE was speeding 20 miles over the limit or weaving his truck across the lane, and that's why you gunned it.
Just curious though, when you saw the passing lane ending, why was your choice to gun the engine and speed up, rather than put on your signal and get in front of the first semi? The driver knows that lane is ending, he's not going to be offended that you need to get back in your own lane. Unless of course you cut him off! Leave lots of clearance! If there are passing lanes every 10 miles or so, you have lots of opportunity to pass the next truck on the next pass...
Bad choice this time, very expensive lesson, but I don't think that the ticket should be reduced or dropped, because you were actively making a decision to drive over the speed limit and to make a illegal passing move while other vehicles are in the road. You chose to try to be a more assertive driver but when the lane is ending, you just have to drop back and wait for the opportunity again.
Annnnnnnd trucks are dangerous! You could have been in a serious accident!
My mom was run off the exit ramp by a semi driver and he just continued to claim, "I didn't see her,"; after many
years fighting in court she got a small settlement but NOTHING could take the place of making a different decision at the time of the accident. She paid for her mistake of, "Well, I want to get off the exit NOW, that truck should slow down!" with numerous discs in her neck replaced with titanium.
She SHOULD have either pulled off the exit ramp entirely onto the grass, or she should have noticed the truck barreling down the exit ramp at full speed and followed suit by speeding herself onto the exit road, merging and continuing, or pulling over and parking. Noooooo she decided to be stubborn and drive the 40 mph off-ramp speed because
"...he should be...."
Doesn't matter who is right or wrong, it's who's left. Glad you are safe! Don't try to double-pass semi trucks!