If it appears that a defendant or the prosecuting authority is prejudiced by a joinder of offenses or of defendants in an indictment, information, or complaint or by such joinder for trial together, the court may order an election or separate trials of counts, grant a severance of defendants or provide whatever other relief justice requires. If two (2) or more defendants are to be tried together and the prosecuting authority intends to introduce at trial a statement or confession of any of the defendants, the attorney for the prosecuting authority shall, prior to trial, on notice to all defendants deliver to the court any such written statement or confession or a written summary of any such oral statement or confession for in camera inspection and determination of whether any portion of the statement or confession involves another defendant and, if so, whether such portion can be effectively deleted therefrom. If the court determines that effective deletions cannot practicably be made, it shall order separate trials of the defendants. Upon failure of the attorney for the prosecuting authority to comply with this rule, the court may refuse to admit into evidence such statement or confession.
R.I. Fam. R. Crim. P. 14