Thanks all. Good to see that opinions pretty much match up with mine on the matter. Officer behaving irrationally and out of line, but not worth the effort to have that fight at that moment. If he would have just flashed his badge and gave me the “get the hell out of here” hand signal he could have saved us all some grief and kept his undercover status. I think he has some issues anyway.
Brendan: like I said in the post, the lane to my left was full of moving cars, stretching back a few blocks. I would have moved over if I could.