It isn't a comparison I'd ever considered, and I was prepared to dispute it. Star Trek, to me, was always more like 18th century British navy, the setup being that it's on an interstellar scale but that distant worlds aren't particularly different to distant lands. The ship entering orbit and becoming involved in a local problem being like HMS McBoatface mooring alongside an island in the Caribbean and doing likewise. But honestly, on thinking about it, I see his point. Structurally, there are comparisons there, certainly in terms of constructing a story, to the way one might write any police procedural. That being said, I feel like Ellison's draft script for "City", which included drug dealers among the Enterprise crew, was perhaps taking the cop show analogy ever so slightly too far...