They would realize they aren't above decorum and have to be under control.
Honestly ... I wonder about banning a coach like Whitt or Dillingham from the sideline for 1 game if they get in the face, cursing and shoving refs like they were. That's just not safe for the refs. Protect the refs, ban the weirdos and they'll figure out quick they need to stay under control. It's what happens in the NBA ... nobody would be allowed on the court if they acted like that.