This function exists solely to work past mysql's database name restrictions. As mysql also does not have the ability to rename databases, it is completely possible that sites will be running with derivative names on the same server, until the upgrade / restore process is completed.