The judiciary branch had to intervene to prevent Google from sidestepping the law, which they were attempting to do. If Google had gone to the courts to try to upend copyright law, that would be using a democratic process. That's not what Google did; they ignored the law, and the judiciary branch was invoked by someone else to step in and stop them.