Manhattan District Attorney Cy Vance has reached a “temporary agreement” with President Trump’s lawyers to stay subpoenas relating to his personal and corporate tax returns, according to new court papers.

The move follows a Wednesday hearing in which Manhattan federal court Judge Victor Marrero told both sides to “sober up” and come to an agreement while they await his ruling on whether or not the DA’s office be allowed to enforce the subpoenas served on the president’s accounting firm as part of a criminal investigation.

The agreement states that the parties will wait “until 1 p.m. two business days after the Court rules on the pending motions to dismiss and for injunctive relief, or until 1 p.m. on Monday, October 7, 2019, whichever is sooner.”

Trump sued Vance in Manhattan federal court last week after his account firm, Mazars USA, was served with subpoenas for financial documents dating back to 2011, and relating to Trump, his businesses and other third-party entities and individuals.

His lawyers argue that a sitting president is “immune” to any form of criminal inquiry.