Repairs and alterations. Ordinary repairs and alterations may be made to a nonconforming structure, provided that no structural alterations shall be made in or to such structure, all or substantially all of which are designed or intended for a use not permitted in the district in which it is located, except those required by law, or except to make the structure and use thereof conform to the regulations of the district in which it is located. Ordinary repairs and alterations shall be determined by the Building Inspector and shall include, among other things, the replacement of storage tanks where the safety of operations of the installation required such replacement.