This code is meant for censorship, not DMCA. Replacing the content with "sorry, this thing broke copyright laws" is how you deal with DMCA, not stopping people from accessing whole sites.
Those obstacles could be censorship, or copyright infringement, or illegal mathematics - anything.