If a court of competent jurisdiction finds the application of any provision or provisions of this chapter to any lot, building, or other structure, or tract of land, to be invalid or ineffective, in whole or in part, the effect of such decisions shall be limited to the person, property, or situation immediately involved in the controversy, and the application of any such provision to other persons, property, or situations shall not be affected.