Legal consequences for police officers