Very interesting. I was pretty sure that users were prevented from adding swear words to their custom dictionaries, but I've managed to replicate this.
And now I wish I hadn't as I don't habitually swear in texts/emails. I'm going to have to remove my custom dictionary to get rid of it now.