The burning I do not agree with BUt the beating, slapping he deserve it!!
Now, that's a bit more nuanced!
This reflects a frustration in the general society with crime. Just imagine the boldness of committing this against known police officers! What apprehensions would he have about Joe-public?
That being said, he should be prosecuted the legal way!