Interesting twist on that - the EU has gun regulations, but Czechia made a law that every licensed gun owner in Czechia constitutes a part of the national defense. Sweden has a similar thing, where people in the reserve can have a fully automatic submachine gun. But it's limited to people with an explicit reserve status and the proper training, gun safe etc and further limitations, plus in practice it's not common anymore.