See my references to the HTA above, but the keey points you raised I have highlighted. It really doesn't matter why you passed the taxi, you are fully within your rights to do so as long as you had sufficient width for your vehicle and you properly ascertained it was safe. If however you state that you did so as an "emergency" manouver you could be at fault for not driving according to conditions or following too closely. This will hurt your defense when you try to claim you assessed the situation and found there to be sufficient room and the manouver you pulled was in safety. All that assessing will not be believed to be done while pulling an "emergency" manouver. So you don't need to bring that point up in your defense. You stated the taxi slowed then stopped. This to me does not indicate an emergency manouver was necessary, but simply that you opted to pass. I cannot vouche for the safety of the situation or the width available to you, or your skills, but passing to the right is ALLOWED. The cop however, and referring to you other point, shows up AFTER THE FACT and in my opinion improperly assess the scene! I highly doubt the taxi stayed put, so how could the officer determine the width available to you at the time. I am assuming this here, but more than likely the taxi pulled over to the side so as not to block 2 lanes of traffic. If however the taxi did not do so, and the cop saw the exact width between the cars, he may ascertain you pass was not in safety. This point you will have to dispute with the cop in court.
As far as the door prize goes, if you were determined to make the manouver not in safety, then the door is a moot point. While if your manouver was safe, than the parked car is at fault.
I would question why the officer found the opening of the door to have been made in safety being as he did not witness the accident. Did he rely on witnesses?
Request a trial, and request disclosure. Chances are the cop will not provide disclosure and not show up. The cop's notes are probably riddled with mistakes and poor due dilliegence that a rookie paralegal could murder. Fight this ticket cause insurance will screw you!