Five 17-year-olds have been charged with robbery and impersonating a police officer .