Even if the copyright disclaimer is unlawful, it was clearly intended by the copyright holder
Exactly. Unless it's something with enormous monetary value (say, the Beatles back catalog), a simple one-sentence dedication to the public domain works perfectly in practice.