Deprecate is to criticize something or to express a disapproval over a subject. It is legal to deprecate something as long as it is based on truth and in a way that does not stand in the way of the ongoing free movement of another person.
Deprecating behavior can be against civil law if it is done in a way that is public and is based on untruth.