I'm glad you aren't too hurt and the bike isn't too bad either.
Seeing as you were just coming from rigors of court, I can forgive the panic braking.
I've thought about this scenario before, of having to brake hard when you see a patrol car if you were above the limit.
You're not alone :
Motorcycle Crashes in Front of CHP - YouTube
I tried to make it a mental note to not brake too hard but drag the brakes and slow down gradually, the forks drop down quickly if you brake hard which is a bit of a tell that you were going fast. (not forgetting the possibility of dropping it)
In general on a bike, and I know its easy to say, you want to be thinking primarily of safety regardless of fear of getting a fine. So make the turn, get safe, then worry about a possible fine/police panic reaction afterwards.
I'll practise some mid-turn braking after hearing this story, I've heard a lot of bikes will stand up during braking mid-turn and go wider. For gentle braking its not so stand up-ish.
Yup, braking will cause your bike to stand up. Gently braking in a turn if you have to stop will stand you up so you can brake harder. Don't want to brake hard while already leaned or you'll end up like the Ninja in the video. Easier said then done I suppose. You come flying around a corner like that and see him it is all reaction. Just got to fight it I suppose.