There is the concept of value for mortgage purpose; which is usually lower than real market value.
The maximum value when purchasing is the amount you purchase at, even where you pick up a very good bargain.
And the value is lower where you are seen as paying a premium above market value...