@ all Both:
The market value is not the sole basis for a bank. But strictly speaking, the lending value is also not the sole basis (for what exactly?). Various values go into determining the lending value. There are different determination methods. The method commonly used for owner-builders usually determines an asset value, which results from adding the construction value and the land value. But the market value of a property also factors into the consideration for determining the lending value.
For example, a beautiful house on a large plot (family-friendly, pleasant to look at) is not worth much if nobody wants to buy it at the asset value. Unfortunately, it may have been discovered afterward that industrial waste was deposited nearby and on the other side there was (to great surprise) an Indian burial ground.
The value of a good is ALWAYS determined by what others are willing to pay for it. Of course, exceptions are to be disregarded (... every morning a fool is born ...). Asset value okay, market value good = high lending value. Asset value okay, market value poor = low lending value.
Basically, both of you are (partly) right.
However, I agree with Tox again afterward. In detailed business with construction financing, special consideration cannot usually be given to individual cases. The costs of extensive negotiations would also have to be borne by someone again. ;-) But trial also makes you "smart" here.