Normally, the building authority thoroughly checks before issuing the building permit whether the rights of third parties could be violated and whether the state building regulations and building code etc. are complied with, and also addresses the arguments of a third party during the hearing phase if necessary. If the building authority then believes everything is okay, the building permit is granted. But authorities can also make mistakes or be wrong. Therefore, a third party can file a lawsuit if they believe their rights have been violated. This lawsuit has no suspensive effect, i.e. construction may continue. BUT: if the court is of the opinion that third party rights have indeed been violated and it is finally determined that there is no possibility of retroactive approval or that the errors cannot be remedied, the client bears the costs of the dismantling themselves. But then it was already clear beforehand that the permit was granted on the edge. There are always troublemakers, and if their arguments hold no weight, they often lose the case. A classic case is the "unobstructed view," if that is gone, tough luck.