I watched it, it doesn't portray Hart's character in a bad light. They make it clear he is a smart well meaning clean cut dude. Ferrell's character is one that comes off like an ***, and tone deaf.
The movie was really corny but if you read the wiki article that you quote from it was also points out that getting him to act tough was only part of the "training".
It was a sub par movie but using it as a way to shade Hart is OD. His role in the movie is not what you presented it. If you have an issue with the marketing, well ok I can understand that, but that's another thing.