A mortgage of real property may not be considered a conveyance which would enable the owner of the mortgage to recover possession of the real property without a foreclosure and sale.