There's no solution in my opinion, the only solutions is only avoid investing on xrp until theres a result from the court.
If Ripple lose on it, its an endgame for XRP.
Agreed, there is no solution for what ripple is going through, they better be innocent because if they are not and ripple is found guilty of the charges brought by the SEC then any confidence in the coin will evaporate overnight and the coin will crash as how wants to be part of a coin that cheats its user base? People are forgetting that despite the technological advances brought by cryptocurrencies one of the main factors that make a coin successful is the trust of the community, without that is game over for any coin.