I'm a little surprised that anyone is surprised at this. Surely you've seen bad papers published in good journals before this! ... referees give opinions; the real peer review begins after a paper is published.
