I don't know whether this has ever been tested in law.
However as I understood the situation some years ago when I was selling a house, one has to declare such issues (my Solicitor asked me specifically about problems with neighbours).
It seemed that if I'd had problems and didn't declare them, then the purchaser had the same problems, they could sue me.
I put up with some horrendous problems with one lot of neighbours but kept quiet and didn't report them, so there was no record of any problems.
Which meant that I had (officially) none to declare, if you see what I mean.
