The DSM-5-TR’s updated definition is in line with that. I think I posted a thread talking about it.
Basically, if your attractions are associated with stress, anxiety, and/or there exists some proclivity to perpetrate a sexual offense against a minor or consume actual CSAM, then it becomes ‘pedophilic disorder’ since the latter involves the use of a real child.