That's awful Angeliz No, I agree that's a completely different league to inadvertantly swearing and your child copying you (half the humour is from the feeling of guilt that it was you who taught it them - being "caught out" that you are human!) - it's certainly nothing I would encourage.
At the same time, isn't part of parenting either modelling the behaviour you expect from your children (for example, something that I've been aware of recently - if I'm not able to stand up for myself in front of my child, how can I expect my child to stand up for himself if someone is being mean to him?) or admitting when you've done something wrong.
I don't think I ever heard my parents say they were wrong about ANYTHING or ever apologise about their behaviour, yet I was expected to apologise instantly if I stepped out of line.
I try very hard to always apologise to ds if I model the wrong behaviour such as shouting at him or swearing. A quick "oops, mummy shouldn't have said that, should she? Sorry!" does the world of good, imo, rather than an unrealistic expectation of us all being saints all the time.