Appeals court ruling gives option for cross-examination in sexual misconduct cases