6.A.9 THE BALL TOUCHING THE REFEREE

(a) If the ball or the ball carrier touches the referee and neither team gains an advantage, play continues. If either team gains an advantage in the field of play, the referee orders a scrum and the team that last played the ball has the throw-in.
(b) If either team gains an advantage in in-goal, if the ball is in possession of an attacking player the referee awards a try where the contact took place.
(c) If either team gains an advantage in in-goal, if the ball is in possession of a defending player, the referee awards a touch down where the contact took place.