What is the primary legal basis under which a fire prevention bureau typically conducts occupancy inspections?