legal action against encroachment