I think MSP’s point is that there’s a spectrum of what I will call “near racism”, between “not racist” and “definitely racist”, ranging from:
telling the odd joke like that above, particularly in private, to folk that know you etc….to telling lots of them, or linking to lots of Daily Mail artivles on muslims etc on say a public forum.
There are shades of grey in between the black and white (see what I did there? 😀 )