Crowds gather as Mattioli appears in court