Being a German, I can hardly imagine security being the reason - I rather think it's bureaucracy and/or a complete misunderstanding of how computers work.
Public services either close much earlier, or are 24/7.
Public services either close much earlier, or are 24/7.