The way it has been presented down here in Oz is that the crew members concerned had signed a declaration that they were not importing anything illegal to Australia. Child porn is definitely illegal and I presume that Oz Customs have a right of search if they have reason to be suspicious.
Certainly sounds as though there have been tip offs though, doesn't it?