Absolutely. Free speech means your default position is that you can say whatever you want, and then the court can determine if it violates the spirit of the law.
The flip side to this is that you can absolutely be given a sentence in other countries without free speech and have to litigate or violently overthrow the regime that denies you due process.
But in neither society should something like racism be tolerated. There is no good that can come from saying white people are better than black people simple because they are black. It is not a useful metric at all when evaluating people. MLK really said it best. Do not judge based on the color of his children's skin but the content of their character.