(a) Except as otherwise provided by this section, a property owners’ association may not enforce or adopt a restrictive covenant that prohibits a property owner or resident from displaying or affixing on the entry to the owner’s or resident’s dwelling one or more religious items the display of which is motivated by the owner’s or resident’s sincere religious belief.
(b) This section does not prohibit the enforcement or adoption of a covenant that, to the extent allowed by the constitution of this state and the United States, prohibits the display or affixing of a religious item on the entry to the owner’s or resident’s dwelling that:
(1) threatens the public health or safety;
(2) violates a law;
(3) contains language, graphics, or any display that is patently offensive to a passerby;
(4) is in a location other than the entry door or door frame or extends past the outer edge of the door frame of the owner’s or resident’s dwelling; or
(5) individually or in combination with each other religious item displayed or affixed on the entry door or door frame has a total size of greater than 25 square inches.
(c) Except as otherwise provided by this section, this section does not authorize an owner or resident to use a material or color for an entry door or door frame of the owner’s or resident’s dwelling or make an alteration to the entry door or door frame that is not authorized by the restrictive covenants governing the dwelling.
(d) A property owners’ association may remove an item displayed in violation of a restrictive covenant permitted by this section.