And the child deserves the right that you don't get out. And in a clash of rights, the child comes first.
Of course that's talking in terms of honour and suchlike, rather than the legal stuff, which might or might not see things differently.
Life isn't always fair. Big deal.