Rude interviewer on an interview panel I just had an interview for a role that was a perfect fit for me. This is a research role in a University. During the interview, the professor who was making the hire commented on how my skills in computational modelling was a close fit to his research project including the amount of upper division quantitative units I have taken; in my undergraduate program I took two math and two physics units every semester. 


Of the remaining two other guys in their 50s, one was constantly berating my Alma Mater for being slightly lower ranked than this current University.
He also berated my average GPA without taking into account the level and load of the units I was enrolled in. 
In addition, he was constantly berating my long term career goal while also putting down Elon Musk and the national research group of the country I did my undergraduate in.
He even went as far back to nit-pick my grades in middle school.
There are no standardised questions asked by the two other interviewers aside from the professor making the hiring


At some point the professor who was making the hire had to rebuke this old man who was on the panel.

Throughout the interview, I politely yet logically articulated my argument as to why his views were flawed.

To be honest, I was shocked at how the interview turned out given the culture in academia and research.

Is there anything I should do in the future if something similar comes up? How common is this?
You have nice and professional and less nice and less professional people in every field, you unfortunately met one of the less nice people. The fact that other members publicly rebuked him shows that you are not alone in your interpretation that his behavior was not OK. 

The important (and very hard) thing to do is not to stoop to their level, and you seem to have achieved that.