Court raps cops, acquits 7 of terror charges