Exactly so. The case was United States v. One Book Called Ulysses
. The gist of the ruling was that the book was not obscene because it had merit as a work of literary art. Judge Woolsey's ruling was an eloquent defense of contemporary (for then) literary art. Once the book was no longer banned in the US, the UK and Ireland followed suit and allowed unexpurgated versions.
What is doubly ironic here is that the case was engineered by Random House in order to be able to publish the book freely through the US without being prosecuted for pornography. Wow -- look at the difference today! What publisher would challenge the government and culture in this manner today? Instead, Apple seeks to create a
where everyone can have a fully predictable, enjoyable, inoffensive, and commercially lucrative (for Apple) time.