That is solved by making this branch of military the most privileged and the best paid - basically make them addicts of the regime. This makes uprooting the status quo their existential threat.
If an average Russian is being brainwashed, for police it's much worse. They really think that people coming to protest are being paid by the "West" and show no mercy.
Anyone who supports opposition, like following someone in Instagram, is immediately fired.