@George,
It was straight misconduct, unsporting behavior, for bringing the game into disrepute.
No goal, no retake, indirect free kick form the penalty spot for the defending team.
(Not a violation of Law 14, which regulates how a penalty is being shot.)
Such happens sometimes in minor leagues, but even there the refs know what to do.
Katanec, btw, got a red card during the Yugoslawia vs Spain match at 1990 World Championship .... while sitting on the bench. [It was a German referee .... but Katanec already had got the yellow card in the 7th minute.]