It's just like the Enterprise in TNG, just because science is your primary goal doesn't mean you go into space without some lasers. Basically they had better weapons than most anyone else in the fleet, but that's not saying much.