Establishes the crime of committing an offense while impersonating a police officer or peace officer when he or she commits a specified offense and during the course of such specified offense either pretends to be a police or peace officer; establishes the criminal sanction for committing such a crime depends on the specified offense that was being committed.