From fears over artificial intelligence replacing lawyers to debates over what role automation should play in discovery, the disruption legal technology brings is not always welcomed by attorneys or the courts.

And sometimes, legal technology can push up against the law itself. Here is a look at three times the law has challenged the changing legal industry:

1. Online Legal Services v. Bar Associations