Should any section or provision of this ordinance be declared by the courts to be unconstitutional or invalid, such decision shall not affect the validity of the ordinance as a whole, or any part thereof other than the part so declared unconstitutional or invalid. The board of mayor and commissioners hereby declares that it would have adopted the remaining parts of the ordinance ifit had known that such part or parts thereof would be declared or adjudged invalid or unconstitutional.