Debt ratio for a french loan

Is the mortgage on his main residence taken for a loan from a French bank for the purchase of a rental property in France?