No ordi­nance relat­ing to rail­roads or rail­road cross­ings with streets and oth­er pub­lic ways or relat­ing to the con­duct, duties, ser­vice or rates of pub­lic util­i­ties shall be repealed by virtue of the adop­tion of this Code or by virtue of the pre­ced­ing sec­tion, except­ing as this Code shall be con­sid­ered as amend­ing such ordi­nance or ordi­nances in respect to such pro­vi­sions only.