I don't know if it is agreed by medical and psychological experts that paedophilia is an orientation or not. Some people who have these desires, etc, were abused themselves as children and so there is trauma-based acting out. Other people do not respond this way. The whole situation is complex but the safety of children must be the first consideration.
The general work for this is the DSM5, which lays out pedophilic disorder on page 697-701, where it is classified as a paraphilia and a disorder, classified alongside other conditions that involve some sort of bypassing of normal consent processes (ie paraphilias involving objects or extreme violence, etc)