There is a big difference between making an overt racist statement and being just insensitive, unthinking, or just plain ignorant. Whilst the latter may not be as deliberate, the upshot is the same. And, in this day and age, ignorance can look pretty wilful and, to my mind, is no defence.