A man says he had been pepper sprayed and ‘mobbed’ prior to him mistakenly punching a police officer in the groin.