If it turns into or is a choke, it is illegal. The "-chin whip" can be legal if properly done. But, if it comes against the throat and applies pressure (or if you turn the head with the chin), its illegal. This is why it is sometime allowed and sometimes not. Not sure what it was in this case.