I consider it a professional courtesy to not bring up my work if I get in trouble. I find it sad that police officers, fire fighters, and paramedics would put other people into a bad situation (the proverbial "Hey, why are you giving me a ticket, we're on the same side") due to their own, perfectly preventable, actions.
I also think that if enforcement of the law is based, in part, by employment, that that law should not be enforced for everyone. If police officers don't want speeding tickets, then the answer is not to speed.