Art. 8 CrimPC from 2023

Art. 8 Waiving prosecution
1 The public prosecutor and courts shall waive prosecution if the federal law so permits, in particular subject to the requirements of Articles 52, 53 and 54 of the Swiss Criminal Code (1) (SCC).
2
3 Unless it is contrary to the private claimant's overriding interests, the public prosecutor and courts may waive the prosecution if the offence is already being prosecuted by a foreign authority or the prosecution has been assigned to such an authority.
4 In such cases, they shall issue an order stating that no proceedings are being taking or that the ongoing proceedings have been abandoned.
(1) SR 311.0Es besteht kein Anspruch auf Aktualität und Vollständigkeit/Richtigkeit.