South Yorkshire Police wanted to “fight their corner” after the Hillsborough disaster, a court hears.