Keeping up with traffic, narrow roadway with parked cars on the side, the OP did what I regularly do in taking the lane.
If there was any safe distance between any of the parked cars, I probably would have pulled into it in order to get the motorist in front of me, done that a few times, and it really takes the motorist's thunder away from them, plus it gets a better shot of the motorist's personal/vehicle description and rear license plate.