If you're walking down an alley one night and someone grabs you and you punch them any reasonable court will find assault charges levied against you completely bogus.
Unless... that person is a police officer, then you could be charged with and likely be convicted of assaulting an officer. Police officers in America, and most other countries, need to adhere to a completely different and much more lax set of rules than most people - that's partially for a good reason due to the line of work they're in - but some people do abuse it and leverage law enforcement privileges and equipment to abuse random folks. Like, for instance, planting a tracking device on your partner to see if they're cheating on you - probably illegal and IA will probably come down on that officer - but they're much more likely to get away with it scott free.
Unless... that person is a police officer, then you could be charged with and likely be convicted of assaulting an officer. Police officers in America, and most other countries, need to adhere to a completely different and much more lax set of rules than most people - that's partially for a good reason due to the line of work they're in - but some people do abuse it and leverage law enforcement privileges and equipment to abuse random folks. Like, for instance, planting a tracking device on your partner to see if they're cheating on you - probably illegal and IA will probably come down on that officer - but they're much more likely to get away with it scott free.