Sorry but that's not how it works. Swearing by itself won't get you punished, but swearing at others will. From the Tribunal FAQ:
1) What's the point of having a language filter if I can get banned for 'adult' language?
a) We aren't out to punish players who use adult language; in fact, very few players are ever banned for saying stuff like "f***, I missed that skill shot" or "damn, fing close game!" However, the language filter is not an excuse to verbally abuse someone in the game. When you verbally abuse or harass someone by calling them "fing *****" or "ngger noob", that's when you've crossed the line and will be punished by the Tribunal. I've said this before and I'll say it again, we aren't trying to clean online games of adult language; we're trying to reform or get rid of jerks who like to verbally abuse and harass other players.
4) That player in my game was far worse than me. Why am I banned???
a) I'll keep this one simple: retaliation isn't OK. Reacting to a toxic player by being toxic just incites that player to be even worse--it also ruins the game for up to 8 other players. It is far, far worse to watch two people yelling at each other all game than it is to watch 1 player ranting into blank space. Almost everyone in the game can find someone out there that behaves worse than they do--but so what? Finding someone worse doesn't justify your behavior or justify retaliation. We expect more out of our players. What players often don't realize is... those other players in your game that you thought were worse? Nearly 100% of the time, those players were banned even before you were. If someone is being toxic, just report them and move on. If you retaliate, both of you will be banned. It's really that simple.