If the separate unit was not done with permits, the property may not qualify for a loan.
While logic or common sense tells you the property is worth more than other properties that do not have a separate unit, the reality is that it may have to be sold for less because it can only be sold to a cash buyer.