The case in the article is not a child custody case. The child was in no danger of abduction.
The problem is - you don’t know that until the person is checked with their ID and with the records.
You’re reading this “after the fact” where you have been provided the details. What the schools do is “before the fact” when none of this is known.
That doesn’t address the point I was making that there are sound reasons for some (not all) of the security protocols at schools.