Under the conditions prescribed in section 37-1232 and when propelled by sail and machinery, any vessel shall carry the lights required for a vessel propelled by machinery only.