I do believe it would be a good idea to have the bolts in there if you live in an area which could be prone to earthquakes. In the datacenter labs I am in charge of at work, facilities management wants all our racks to be attached to the cement floor with concrete anchors, and all servers / appliances in the racks should not be able to slide out (either securely latched or screwed in, if on drawer rail sliders or sitting on shelf supports)...
I've even told other shareholders on my co-op, to attach the whole battery rack to the wall of their storage containers or mount location, so it can't tip over even if you tried, because a rack of batteries is much heavier than even a rack of servers, and the higher you stack batteries, the more top heavy the rack as a whole gets. And a lot of the more modern racks we get in here in our labs, are much taller than the older gen racks too.
In our datacenter labs at work, we also put all the batteries / UPSs down on the bottom of rack, and servers always start from there going upwards, to keep the heaviest weight at bottom half of rack.