Of course he can. It is also correct according to the rules. But a good ref would have told Schmidt that he crossed a line, that he has no right to be disrespectful towards him and he would have managed to continue the game without the unnecessary bullshit of sending both teams into the tunnel...