In this case he was. He was doing nothing wrong and was hassled for it. So yeah, maybe he was a bit of a jerk about it and yeah, he dropped the race card. But neither one is illegal, and the second one was probably valid in this case.
He was doing nothing wrong and was hassled for it.