As is usual you don’t get the full story. Sounds like the little girl consented that the priest name the man. The priest refused.
The priest will go to prison before he breaks his confessional seal.