They Hays code is being used as a recent historical example of “morality” based censorship of fiction the type that antis claim to want.

The Hays code works well as an example because it’s effects have been widely academically discussed and studied.