(B) No existing nonconforming building may be enlarged, reconstructed, or altered unless its use is changed to a use permitted in the district in which such building is located except in the event such enlargement, extension, reconstruction or alteration is required by court decision, law, or ordinance.