In many European countries (like Germany or the UK), gun owners are legally required to store their guns unloaded and lock their guns and ammunition up in separate safes. In some of those countries, storing guns and ammunition in the same safe is fine but one is not allowed to store ammunition which fits a gun in the same safe as that gun.
Are there official reasons given for this legislation? I'm interested both in reasons for having to store firearms unloaded and for having to store them separately from (fitting) ammunition. But I'm more interested in the latter as it seems fairly likely that a common view is that there is just no reason to store a gun loaded if you're only allowed to shoot it on specifically licensed gun ranges (not on your own property) and are not allowed to transport loaded firearms.
I consider official reasons given by any country in Europe (doesn't even need to be in the EU) or a country of reasonable size (let's say 10 M inhabitants; just trying to make sure I have a chance to find stuff online because that's going to be hard if the reason is give for special legislation only affecting some municipality in a third world country) answers to my question. This includes not only reasons given by the legislative branch but also ones given by the judicial or executive ones. Official reasons given by the EU count too, of course.
If there are no such official reasons, I consider reasons given by big parties or high-ranking politicians valid answers.