"You may be asking “did someone at Nintendo actually program a consequence for profanity in the game? Is the glitching and crashing a punishment for the perverse player?”"
That is indeed what I thought, thinking back to what would oft happen if you typed swears into text adventures - http://www.monkeon.co.uk/swearadventure/