Construction, reconstruction, technical inventory: legal aspects