Senator loses custody of ‘unclaimed’ child