All five suspects were charged with robbery and criminal impersonation of a police officer .