I want to know the answer to the following question:
What determines how the referee acts?
All the background I'm provided with is that "Although their actions are also frequently scripted for dramatic effect, referees are subject to certain general rules and requirements in order to maintain the theatrical appearance of unbiased authority.". Is that enough to answer the question?
Answer: yes