https://www.hoalawblog.com/condo_associations_can_regulat_1/
Many homeowners want hard surface flooring instead of carpet. And they will often present a prescription from their doctor for a hard wood floor in an effort to get around their association’s restrictions or prohibitions on hard surface flooring.
....
This case tells us that the courts are going to support an association’s effort to eliminate a nuisance hard surface floor that is causing a nuisance for the unit resident below, assuming that the association is properly enforcing the restriction in the CC&Rs and is not acting discriminatorily or arbitrarily.