was this a small town cop? A big city cop encounters what you did all the time.
And the lights do not protect him on the side a road from a distracted driver.
I was in your situation once too. I was pulled over after pulling away from a light on a busy intersection. I had a feeling he was going to pull me over for the no front license plate as I spotted him on the left on the other side of the red light. But on my immediate right after the light I noticed a Dunkin Donuts. So I pulled into the lot and parked directly in front of the entrance. Rolled down all windows as per usual, told my passenger to keep their hands up high and visible as per usual. Had my docs out before the cop even got out of his car. He took two glances at my ID, asked about the plate and said "all right get on that" and went right into the Dunkin Donuts.