The provisions of Sections 507.04 to 507.07 shall in no way apply to that part of the City known as market districts, nor to the placing and maintaining of barber poles on the sidewalks of the City which shall be regulated by the Building Code, nor shall the provisions of such sections be construed as repealing or modifying any provisions of the Building Code regulating the use of sidewalks in connection with building operations.