It's not how it usually happens, but it has happened. Unless, he or his wife are a threat to the child in some way, of course, they should be allowed to keep it. He is the biological parent. It sounds strange, but I'm sure they see it as a blessing and I'm sure they put a lot of thought in to this before doing it. Though he has been legally been called male, he is actually still female.