Most fences have a nice side and a usually less nice side, often where the posts are. You now have the choice. Should the hedge see the nice side or you? If there is later a dispute about who owns the fence, it does not matter at all where the post stands. Does it really stand on the boundary, that is 5cm on the neighbor's side and 5cm on yours? Or does it stand entirely on one property? Then it belongs, no matter who paid for it, to the property owner.