When should a child’s trans identity be permitted to be a material issue in a family case?

A child identifying as trans, whether it has been submitted this is as a result of harm or not, is identifying as trans and that must be respected throughout proceedings.