Outrage as transgender woman told she must be known as child's father