Is "This allows for heel characters to gain a scripted advantage by distracting or disabling the referee in order to perform some ostensibly illegal maneuver on their opponent." a good answer to the question "How can a wrestler gain an advantage by using a referee?"
yes