It looked like to me the ref called the foul, and after he blew the whistle he took another shot at the opposing player. Thats what probably got him ejected. No matter, he should not have ever touched the ref! I hope he never sees the court in any organized sport again.