I know little about USA law enforcement, and even less about the military, but I have some State Police friends in Oz, and to the best of my understanding, from campfire stories, is that their legal training is fairly extensive*
*At least as far as their authority and powers go. Many a copper has been caught out from not having an exact understanding of the application of one law or another, generally traffic infringements

- but who here (or anywhere) can say that, on the spot, they can execute any particular action of their trade with pinpoint understanding of the policies and details involved.
Of course, people are just people, and how well any given meatsack understands the bureaucracy they operate within is a big graph.