As long as you can easily slide it out of the way and it isn't fixed to the wall, it wouldn't be a problem for anyone who needs to service it. Therefore, it would not be against regulations, because all regulations in Germany are logical
If it leaks slightly it could keep the gas/air at an explosive ratio within the box.
Best to just have it vent out into the room. then it's noticeable.