Any person aggrieved by the enforcement against him or her of the Fire Safety Code, chapters 28.1 - 28.39 of this title, any safety code adopted under this chapter, or any amendments thereof may, after its effective date, commence an action in the district court for the county in which the building involved is located against the state fire marshal to set aside the code or codes or portion or portions thereof on the ground that it is unlawful or unreasonable. The court may set aside the code or codes or portion or portions thereof if, upon all the evidence, it appears to the court that the code or codes or portion thereof is unlawful or unreasonable.
R.I. Gen. Laws § 23-28.3-7