The company has appealed all the way to the highest court. And it has a powerful ally on its side: incoming president Donald Trump.