In applying the provisions of Articles 17 to 19, notwithstanding of paragraph 1(g) of Article 1, periods of coverage which are credited under the legislation of the Netherlands solely on the basis of residence in the territory of the Netherlands shall not be taken into account.