Domestic violence shelters established pursuant to section four hundred two of this article, called the domestic violence act, shall not be subject to the enforcement of municipal zoning ordinances on the basis of being in noncompliance or variance with a particular use district: Provided, That as to all other provisions of those ordinances, the ordinances will control.