If there is a conflict among special statutory liens against the same immovables, the order of priority follows the order stated in the items of Article 325.
同一の不動産について特別の先取特権が互いに競合する場合には、その優先権の順位は、第三百二十五条各号に掲げる順序に従う。
If the same immovables are subject to successive sales, the order of priority of the statutory liens for the sale of the immovables among sellers follows the chronological order of the sales.
同一の不動産について売買が順次された場合には、売主相互間における不動産売買の先取特権の優先権の順位は、売買の前後による。
Read this with the articles around it
statutory lien
先取特権
A right the law itself gives certain creditors to be paid out of the debtor's property ahead of other creditors (Civil Code, Article 303). Some reach all of the debtor's property, such as a claim arising from employment (Article 306, item (ii)); others reach particular property only, such as a landlord's claim for rent and other debts under a lease of land or a building, which reaches, for land, the movables furnished to it or to a building used with it, the movables used on it and the crops or other fruits of it the tenant holds, and for a building, the movables the tenant has furnished it with (Articles 311 to 313). The Act on Land and Building Leases gives a landowner one over the tenant's building on the land for the last two years' rent that has fallen due (Article 12, paragraph (1)), which keeps its effect by the registration of the superficies or the land lease (Article 12, paragraph (2)).
Written for this site using Civil Code, Arts. 303, 306, 311, 312, 313 and Act on Land and Building Leases, Art. 12 as a reference.