Unless the boy was making some kind of threat, which no one has claimed he has, there's no justification other than raw assertion of power for this action.
The police officer needs to be disciplined. But won't be. He'll use lack of compliance as a justification for whatever action followed.