The President will contest it in court if he wants and the court will rule, the ruling will be contested and it will eventually get to the Supreme Court. So to answer your question: it is the Supreme Court that will ultimately get to decide. Based on my understanding of Nixon vs US, I believe the court will rule against the Congressional subpoena. But there is certainly some uncertainty about just what the court will rule.