In fact, the story of how Atari tried to circumvent the lockout chip on the original NES is a good example of this.
They had gotten surprisingly close to a complete decompilation, but then they tried to request a copy of the source code from the copyright office citing that they needed it as a result of ongoing unrelated litigation with Nintendo.
Later on this killed them in court.