WASHINGTON—The president of the United States is now attacking his own policy.

In a perplexing series of Twitter comments before 7 a.m. on Monday, Donald Trump criticized his presidential order for a ban on visitors from six Muslim-majority countries — falsely claiming the Justice Department, not him, issued this revised policy:

The tweets could possibly harm his chances of winning in court.

His administration has been attempting to convince federal judges that the ban is a “good faith” effort to protect national security, not a Muslim ban by another name and not a disguised twin of the original travel ban he issued in January.

Courts have disagreed so far, and their decisions have taken into account Trump’s own remarks.

Trump’s administration last week asked the Supreme Court to hear the case.

“Its kinda odd to have the defendant in Hawaii v. Trump acting as our co-counsel. We don’t need the help but will take it!” Neal Katyal, the lead lawyer for Hawaii’s legal challenge, wrote on Twitter.

Trump was even criticized by George Conway, a prominent lawyer who is the husband of senior Trump counsellor Kellyanne Conway.

In a television appearance on Monday morning, Kellyanne Conway had derided a media “obsession with covering everything he says on Twitter.” But George Conway said his most recent tweets could cause real problems.

Trump campaigned on a “total and complete” ban on foreign Muslims entering the country. He issued the revised ban after the January version was blocked in court and widely criticized.

The revised version seeks to ban people from Iran, Sudan, Libya, Yemen, Somalia and Syria for 90 days; it deletes Iraq from the original list. The revised version also seeks a 120-day ban on Syrian refugees rather than the indefinite ban of the previous version, and it explicitly exempts permanent residents who hold “green cards.”

But the revised version has also been stymied in court. Trump’s most recent defeat came at the Fourth Circuit Court of Appeals, based in Virginia, which ruled in May that the policy “drips with religious intolerance, animus, and discrimination.”

Trump may have undermined his case again with another Monday tweet. While he and his legal team have argued that a temporary ban is necessary for the administration to figure out how to strengthen vetting procedures, Trump suggested he had already done so:

Loading... Loading... Loading... Loading... Loading... Loading...

Trump was not finished tweeting inaccurate information. Later in the morning, he falsely blamed Democratic “obstructionists” for “taking forever” to confirm his ambassadorial nominees, though he has simply not nominated people for 178 of 188 positions. Then he denounced London Mayor Sadiq Khan for rejecting Trump’s misleading criticism.

Khan had urged Londoners to not be alarmed by an increased police presence following the terror attacks on Saturday. Trump had misleadingly suggested that Khan was telling the city not to be alarmed by the murder of its residents. Khan, through a spokesman, responded that Trump had taken him out of context.

The acting U.S. ambassador to the United Kingdom, Lewis Lukens, had tried to play peacemaker on Sunday, tweeting support for Khan’s “strong leadership.” But Trump went after Khan once more on Monday, tweeting:

Read more:

Donald Trump argues for travel ban after attacks hit London

Donald Trump taking battle over travel ban to U.S. Supreme Court

Trump administration’s deportation order for man in Hawaii ‘inhumane,’ judge says

Read more about: