Yes, there will have to be an courts engagement on multiple fronts. Yes there will have to be protest and resistance.
But, ultimately, the solution is a political one.
Didn’t some one once say, “War is politics ‘by other means’?”