[OT] This is different from an internet forum though, it is actually illegal for a teacher to refuse to teach a particular student. I hope you brought this up to the school board or wherever it should have been taken, even if it wouldn't have gotten you into the course anyhow. These kinds of teachers should not be teaching.
The first day of classes I walked in, the same teacher came up to me and asked me to leave his class because I was "not good enough" and I will "never do anything in the computer industry", he went on to say that he refuses to teach me even though it was his job and I had the eligibility.
This was like 12 years ago, and when I did bring it up to the guidance adviser, he calmly took his side and just advised me to register in another course, considering that all I wanted to do was graduate at the time, I did not make a big fuss out of it and moved on.