They have a military structure, military equipment and one of their purposes is to provide defense for the state. It's a military. To deny that really just strikes me as Utopian spin doctoring.
That by no means doesn't mean their sole purpose is defense. But by the very nature of space exploration in a galaxy full of hostile races and unknowns, yeah. They're the front line of defense.