A police force has said the Nottingham attacks were not "reasonably foreseeable or preventable", a public inquiry has heard.