All persons having buildings, structures, works, conduits, mains, pipes, tracks, or other physical obstructions in, under, over, or upon the public ways, that interfere with or impede the progress of low-income housing when in process of construction and establishment, shall, upon reasonable notice from the authority, promptly shift or remove the obstruction, to the extent necessary, at their own cost and expense, except as otherwise provided or required by law. In cities the city legislative body may prescribe by ordinance the penalty for failing to shift or remove the obstruction.