It is the first time a bishop in Poland has gone on trial in such a case.