Such incidents happen all the time on both sides of the Durand line. This is not the first nor shall it be the last .
There has always been a sense of mutual respect among all uniformed persons in the sub continent whereby they respected each other . With time this is eroding, the results are to show.
I'll take the Armed Forces first, the nature of their job entails a certain degree of aggressiveness and ' disdain' for established conventions. They would not succeed in war if they followed rules, please do not get me wrong this does not in any way imply they should flout the law of the land . However, its for the Police to ensure a Fauji is not treated as the rest & vice versa.
A Fauji has very high self esteem. In fact a young officer without the ' fire' in him is a misfit, he will lose men in battle. He does not take being belittled easily , more so by a traffic cop. I have seen countless instances where all a cop had to say was " Sahab" and the officer immediately apologised ( higher the man , the more humble he invariably is) . This exchange of words put to end what could have been a very ugly scenes. Remember both faujis & cops are a law unto themselves & loss of face hurts.
Now, for the Police, with time and political patronage ' its gone to their head'. In today's day & age money is the sole determinant of a man's status. A Policeman invariably has more ( ill gotten) money than a soldier . He therefore does not consider himself lesser than a soldier , in fact a notch or two higher. He also knows he can buy off his boss when in trouble, something a fauji cannot. Therefore all thats needed to be done is to create a scene & the media & Army Act will do the rest. He meanwhile gets himself transferred to another Thana.
All in all, while faujis ought not to take law in their own hands , the Cops too must realise that an Officer must not be treated as riff raff.