I can agree that there should be no public flogging, provided it is first couple times. If it has been explained to the individual that certain behaviour is considered unprofessional and yet they insist on engaging in it then... well, there should be consequences.