It really is at their discretion and the best thing for them to do is send the teams to their benches and huddle together to do their best to sort out what they are going to do next, who they are going to eject etc??? It allows for everyone including the officials to take a deep breath and make decisions based on the situations that occurred and not on emotion.