The Registrar of Ships shall not permit the de-registration of a ship without the consent in writing of all registered mortgagees of the said ship registered under this Act.