Highly structured and rule driven practices are key to all safety. Hospitals, military, airlines all depend on a rigid set of safety instructions that are followed without exceptions.
Same goes for explosives. Many governments around the world set various different rules around storage of explosives, and the Beirut port explosion was a result of ignoring pretty much all of them. It's an example of what happens when the government isn't there to do its job.