I remember complaints about Apu from when he first showed up. It wasn’t that it was okay back then to make fun of people with accents - but the people who were hurt by it just weren’t considered important enough to matter. That’s pretty much the definition of racism.