Except isn't them learning that there are certain people (like dad) to not swear around the whole goal?
Dad (probably) doesn't care, dad just doesn't want to be called to school by teacher when his kid repeats few swear-words.
I've been called by a school about my kids' swearing. I told them I don't see what the fucking problem is.
My point is this isn't even a bad thing. As long as they learn to not swear around certain people (like dad), then that's what you want