I am not very sure about that. For garages etc., the rule also applies: either directly on the boundary or at least 3 meters away. We had that case. The neighbor was instructed (not by us) because his garage was set 4.5 cm away from the boundary and should have been directly on it. Obviously, it is NOT a MUST for fences, but I still understand it to apply directly on the boundary. Bushes must be at least 50 cm away, yes.