Photo: AP

Has Paul Ryan been brushing up on The Art of the Deal? Cause it seems like the House Speaker is copping a bit of Donald Trump’s signature litigious style.

In an interview with the Huffington Post uploaded on Friday, Ryan implied that if the presumptive GOP presidential nominee were elected and went forward with his proposed ban on Muslims immigrating to the United States, he would consider taking Trump to court over it.

“I would sue any president that exceeds his or her powers,” Ryan said, and claimed that Trump would not be given a “blank check” just because Republicans want to win the White House really really badly.

What’s not entirely clear is whether Ryan would consider such a ban an overstep of presidential authority. Referring to the question of whether the 1952 Immigration and Nationality Act would give Trump with right to enact his ban, Ryan said, “that’s a legal question, and there’s a good debate about [it].”

In the wake of last Sunday’s horrific mass shooting at an Orlando nightclub that claimed 49 lives and injured dozens more, Trump tried to capitalize on the tragedy by reiterating his call for a ban on Muslim migration to the U.S.

Ryan has criticized the proposed ban several times, as early on as December when he said that Trump’s policy was “not conservatism.”

Ryan has called Trump’s recent tirade against the ethnicity of Judge Gonzalo Curiel, who is presiding over the Trump University case, “the textbook definition of a racist comment” and “absolutely unacceptable.”

Ryan endorsed Trump for president on June 2 and still can’t say for certain whether he will come to regret it.