Oh dear. At this point, I would invest the money in an initial consultation with a specialist lawyer for construction law and simultaneously read the state building code yourself (everything!)
Otherwise, everything has basically already been mentioned:
- A 4m porch has a building-like effect and should therefore somehow be reflected in the clearance areas
- If applicable, a development plan must be observed, which further restricts the state building code
- Written statements to the building authority should be well considered, in order not to destroy neighborly peace and to ensure that nothing disadvantageous ultimately backfires on you
- Your claims to easements or dismantling/modifications are no longer trivial in this case, so I would deal with this directly with legal assistance.
Hiring a lawyer does not mean you want to sue your neighbor. You should also consider whether you still depend on your neighbor’s goodwill somewhere (or not), and align your strategy accordingly