Your use-case is different from the one Hiranya answered on in the link. There they were implement a email-invite system, while you are “simply” important users.
Once a user exists in Firebase Authentication their UID will never be changed. So if you give your users a specific UID while importing them into Firebase Authentication, they will have that UID forever.
CLICK HERE to find out more related problems solutions.