The EU law exception must be assessed concretely.
With an Austrian child, the question is whether the measure would in practice force the child to leave the territory of the Union. This is the core of the Article 20 TFEU assessment.
Parenthood alone is not enough. Actual care, dependency and realistic alternatives matter.