Runtime UID should be generated after other basic ID info is set, in this case the `tag` flags were still the one read from file, which could lead to an assert in `BKE_lib_libblock_session_uid_ensure` in case the blendfile was generated from a temp main data-base.