The detective flashed his badge to the police officer.

What is the effect of the preceding sentence?
The police officer let the detective enter the crime scene.