It's a cleanup. Better to return std::nullopt than faking an entry with an id when require_entry == false.