While there have been calls from economists to consider such a move for months [1], there is currently no need to wonder. The German fed (Bundesbank) has already commented that they believe the US to remain a trusted store. Bundesbank has independent authority over German gold which is NOT legally hard-related to government activity. It could still be influenced by politics, of course [2].
[1, paid source] https://www.faz.net/aktuell/wirtschaft/mehr-wirtschaft/marce...
[2, last section is relevant] https://www.t-online.de/nachrichten/ausland/usa/id_101419346...