Section 29. If either of the parties to an intended marriage has arrived as an immigrant from a foreign country within five days, the notice of intention may be filed at any time before the marriage, and the certificate required by the preceding section shall be issued at any time after the filing of such intention.