Various court rulings rendered key provisions of old regulations unenforceable, sending city back to drawing board.