Explain to me how casual racism is lighthearted or sympathetic.
Authorial intent by a racist British person a century ago. That it (fortunately!) is no longer considered amusing is a reason why you may want to edit it out when done by a non-asshole character.