So many people "love" dogs, so few understand dogs. Dogs are canines who evolved in a clear social context and order. They help their group and work together. They have a clear leader. It is a must for their existence. If they do not see a clear 'alpha', they assume they might be and will act accordingly. It has to be quite well established who is in charge in a relationship with canines. If you are not the alpha, you're just another dog.
No decent person would ever hit a dog.
You do not have to ever hit a dog.
That is not how you gain alpha respect.
The police want dogs to be aggressive, and that is illegal.
Dogs can only legally be used for tracking, and training or use for attacking is totally illegal.
Almost all police dog handlers are criminals and should be arrested.