Beyond the cases prescribed in the preceding Article, if there has been any change to the intended purpose of a property under fire prevention measures set forth in Article 17, paragraph (1) and the fire defense equipment, etc. installed in the property under fire prevention measures after the change to the intended purpose now fails to conform to either the provisions of the Cabinet Order concerning the technical standards for fire defense equipment, etc. set forth in paragraph (1) of that Article or of an order issued thereunder or the provisions of the municipal ordinance under the provisions of paragraph (2) of that Article, both of which pertain to the fire defense equipment, etc., those provisions do not apply. In this case, the technical standards for fire defense equipment, etc. installed in the property under fire prevention measures prior to the change to the intended purpose apply.
The provisions of the preceding paragraph do not apply to fire defense equipment, etc. which falls under any of the following items:
fire defense equipment, etc. installed in a property under fire prevention measures set forth in Article 17, paragraph (1) which is, at the time when there has been a change to the intended purpose of the property under fire prevention measures, in violation of the provisions of paragraph (1) of that Article due to the failure to conform to either the provisions of the Cabinet Order concerning the technical standards for fire defense equipment, etc. set forth in paragraph (1) of that Article or of an order issued thereunder or the provisions of the municipal ordinance under the provisions of paragraph (2) of that Article, both of which pertain to the fire defense equipment, etc. installed in the property under fire prevention measures prior to the change to the intended purpose;
fire defense equipment, etc. installed in a property under fire prevention measures set forth in Article 17, paragraph (1) for which construction work for an extension, reconstruction, or major repair or remodeling as prescribed in the Cabinet Order is commenced after the time when there has been a change to the intended purpose of the property under fire prevention measures;
fire defense equipment, etc. installed in a property under fire prevention measures set forth in Article 17, paragraph (1) which now conforms to the provisions of the Cabinet Order concerning the technical standards for fire defense equipment, etc. set forth in paragraph (1) of that Article or of an order issued thereunder or the provisions of the municipal ordinance under the provisions of paragraph (2) of that Article; or
beyond what is set forth in the preceding three items, fire defense equipment, etc. installed in a property under fire prevention measures set forth in Article 17, paragraph (1) where there has been a change to the intended purpose, and where the new intended purpose after that change is an intended purpose of a specified property under fire prevention measures.
Read this with the articles around it
Prefectural or Municipal Ordinance
条例
A rule a local government makes for itself: a prefecture (都道府県), a city, town or village (市町村), or one of Tokyo's special wards (特別区) (Local Autonomy Act, Articles 1-3, 281 and 283). Its assembly (議会), whose members the residents elect, passes it (Articles 89 and 96, paragraph (1), item (i)), and its head — the governor or the mayor (Article 139) — promulgates it, that is, makes it public so that it can take effect (Article 16). The Constitution lets local governments make them within the limits of Acts (Constitution, Article 94), and one may not go against the national laws and regulations (法令), such as Acts, Cabinet Orders (政令) and Ministerial Orders (省令) (Local Autonomy Act, Article 14, paragraph (1)). Unless national laws and regulations provide otherwise, a local government can impose a duty or restrict a right only by one of these (Article 14, paragraph (2)), and it may write into one penalties for breaking it, within limits the Local Autonomy Act sets (Article 14, paragraph (3)). It is made for that local government's own affairs (Article 2, paragraph (2) and Article 14, paragraph (1)), so the same matter can be handled differently from one place to the next. It is a local rule, not a national one: an "ordinance" in the name of a national rule, such as an Ordinance for Enforcement of an Act, is usually a Ministerial Order (省令) or another national instrument.
Written for this site using Constitution, Art. 94 and Local Autonomy Act, Arts. 1-3, 2, 14, 16, 89, 96, 139, 281, 283 as a reference.