A number of people are reported to have left the church in protest during the priest's homily in County Kerry.