You are correct. The chief firearms officer would be made aware of protection orders against an individual through the courts. The CFO, under section 5, would take that element and any other element that they would have had to investigate for the individual's eligibility to hold a licence.
I can't speak to the exact details of how the protection order would have made the CFO decide to take an action against somebody holding a licence, because the protection order information would vary.