As far as I know, moving more than three cubic meters of soil requires a permit in Germany. Once you go too deep you also require a permit from the local mining authority. Not to mention the Balrogs you might wake.
Do the Balrogs issue permits to wake them? How do you prove you submitted the permit - and got approval - before you wake them? Sounds like you're playing with fire.
You might be surprised. There are many municipal regulations around the location and size of excavations, even on privately-owned land. Primarily to avoid damaging any pre-existing underground infrastructure.
Diggning a hole is: tons of paperwork, why are you doing, risks, licences for every machine you are going to use, studie that probes that you aren't going to damage any underground tube, cable or even if you are going to affect to the natural water-flow. Then you also need to explain how you are going to close the hole...
Yeah, I occasionally work in construction. In .au you have to have a Civil Engineer on site for anything like 2meters or more deep and so on, council approval, engineers reports, water course layouts, surveyors, soil experts, excavators required skilled labor (in the sense proof of competency & licenses) I don't know what OP is getting at.