Do you carry a gun every day? You should. When you do carry a gun it is your responsibility to keep yourself and others safe from your gun when you carry it. That includes police officers.
Police officers have been trained for decades that only bad guys and police have guns. That is starting to change, but until it becomes common place in your area, you have to protect yourself.
This video talks about how to deal with police when carrying a firearm legally.
Spoiler: If you act like a professional you will probably be treated like one.
Prepare for the worst… hope for the best,