At least, I think I was. Actually I suppose I was legally a resident, but was illegally an employee. I was never quite sure. Anyway the point is... it's easy to overstay a visa. It's easy to do your best to comply with immigration laws and have the bureaucracy fail you. That anyone who is relatively well-traveled would not understand that
calling someone 'illegal' was both a pejorative and demonstrated a lack of understanding of the issues... well, I guess it's our current reality.