Trump and GOP are winning court battles