legal protection real estate