Vacuum does not empty tables. So, if there are records in a table in one database and no records in the same table on another database, the size will still differ after a vacuum.

But in your case, if these tables are empty, the difference must be somewhere else.
My example was just that. There are other cases as well.