The BBC understands the ban goes against long-standing policies on trans inclusion in most unions.