"if while an insurance certificate issued under section for a ship registered in the republic or in a state that is not a contracting state is in force the ship ceases to be registered in the republic or in that state as the case may be the certificate so issued thereupon ceases to be in force"