You might get some opinions here - likely emotional ones - but this definitely sounds like a family/legal issue. Not a dog issue.
My own opinion, worth exactly what you pay for it, is that, morally, the dog should stay with you. Legally, I have no idea.
My own opinion, worth exactly what you pay for it, is that, morally, the dog should stay with you. Legally, I have no idea.