During the construction of my house, I coordinated with the authorities early on, openly, cooperatively, and reliably, and I have no regrets. A spiteful neighbor filed lawsuits against me at the district office every week, all of which were immediately dismissed, but sometimes an inspector was on the construction site - he measured everything, confirmed its correctness, and also dismissed the neighbor's last lawsuit. Every office had our phone number, and in the municipality, it was known that one call to us was enough and things would be taken care of. That proved to be effective.
We often dealt with the municipality, for example regarding the crane but also trivial matters like a portable toilet that had to be moved by 1 meter. I have to say: I am the builder, I take responsibility first. Of course, I have the general contractor, but it is truly in my interest to keep an eye on things every single day to make sure he doesn’t do anything wrong. It could be construction defects, it could be a misinterpretation of the requirements, anything. It is in my very own interest to ensure that none of that happens.
Sorry, but anyone who cannot or does not want to supervise their construction is better off buying an existing property.