A former children's nursery boss could face jail after he attempted to pick up his children from school despite being told by his ex-wife and social services that he could not.