We specify several variants of a structural econometric model explaining mortgage interest rates and loan sizes simultaneously. The models are estimated by simultaneous equation methods with a sample of loan files originated from a French mortgage lender. They yield estimates of the interest-rate elasticity of the demand for housing. Different occupational status groups happen to have different values of structural preference parameters. We show how these differences translate into differential treatment of socio-economic groups by the banker.