Translation of "As the case may be" in German

So within what framework should these negotiations be pursued, or not, as the case may be?
In welchem Rahmen sollen diese Verhandlungen nun weitergeführt werden?
Europarl v8

Unless concrete measures are taken to put an end to the failure as soon as possible, the case may be referred to the EU Court of Justice.
Werden nicht baldmöglichst konkrete Abhilfemaßnahmen ergriffen, kann der Gerichtshof angerufen werden.
TildeMODEL v2018