A federal judge recently ruled the Trump administration cannot restrict tax credits for wind and solar energy, The Hill reported Monday.