A victim of a criminal offense shall not be excluded from court or counsel table during the trial or hearing or any portion thereof conducted by any court which in any way pertains to such offense, provided, however, a judge may remove a victim from the trial or hearing or any portion thereof for the same causes and in same manner as the rules of court or law provides for the exclusion or removal of the defendant.