There are some good comments about rec leagues here. I asked about the orginal OP's experience because it could matter. Many times, up to JV boys you only have coaches yelling and they are doing it mostly for show. Varsity coaches
may begin to "talk" to the ref with purpose and if the official has been in many situations it could help.
I say all this assuming you have the support of the assigner, someone who runs the league and a guy with a gun & badge if need be.
Adults will test an official repeatedly until they realize they can or cannot influence what the official will call.
IMO, the game should be about sportsmanship, skill and finesse. Apply whatever rules needed to maintain that and it will work at any level. Normally you can find 10 players who want to play - all others can be removed systematically or immediately.