Any homeowner or resident who is prevented by management from exercising the rights provided for in Section 798.51 may bring an action in a court of law to enjoin enforcement of any rule, regulation, or other policy which unreasonably deprives a homeowner or resident of those rights.