Ok, I will begin with your first question. As of right now, a "gore violation" is subject to 3 points for a conviction of the offense. Now, if you are eligible for a deferred prosecution, and you complete that (that usually entails traffic safety school and payment of fines and fees), then you may be able to avoid the points on your driver's license.
This goes to your second question as well. While you fairly surmise that these "judges" are generally appointed by the city counsel and not subject to the usual voting process for other judges, you still do have options other then letting him determine your guilty and fine you. As you may be aware, you can demand a trial. However, from what you have told me, you would not be successful (even though the officer was being difficult with you, that does not excuse the violation committed under the law). However, if you do request a trial and that officer does not happen to be in Court on the day of the trial, then the State will not be able to present the testimony and evidence required to convict you of the offense.
Quite frankly, you may even have the opportunity to explain to the judge what had occurred during this trial as well. However, you must walk a fine line between explaining the events and insinuating that the officer was a troublemaker as some judges will not tolerate such insinuations, while some judges are aware that some officers do often do things like this. If you have a judge who knows that certain officers "misbehave" while on the job, the judge may throw the ticket out even though it is not a valid defense (often in smaller traffic cases like this, the judges are more likely to side or empathize with the person ticketed and disregard the letter of the law).
Your option would be to request some type of deferred prosecution. If the prosecutors see that you have a "decent" background, they may be more amenable to offer you traffic school in order to avoid the conviction and points on your record.
Please let me know if you have any other questions. If so, I would be more than happy to answer them.