Libertarian presidential candidate Gary Johnson speaks to supporters and delegates at the National Libertarian Party Convention, in Orlando, Fla. on Sunday, May 29, 2016. (AP Photo/John Raoux, File)

Gary Johnson, the Libertarian Party's candidate for president, has generally steered away from the movement's dogmas in favor of politics that sound pragmatic. He did so again at the end of the week, siding generally with Republicans on the meaning of Brexit, while sounding a bit like Democrats on the Supreme Court's decision to maintain a stay on President Obama's order to allow many undocumented immigrants to avoid deportation.

On Friday, Johnson weighed in on Brexit long after Donald Trump and Hillary Clinton had exchanged blows. "We can view Britain's exit from the [European Union] as some kind of catastrophic event, or as an opportunity," Johnson said in a statement to The Washington Post. "It is perfectly appropriate for the British people to make their own decisions about their own economic futures. It is not for us, either previously or today, to lecture them about their own best interests. The EU has, for some time, been pulling Britain down a path to unsustainable entitlements and away from the opportunities the free market offers. That voters rejected that path is not surprising."

Like many Republicans, his peers until his 2012 flight to the Libertarian Party, Johnson described Britain's vote to begin extricating from the E.U. as good news for America and for national sovereignty. "The sky is not falling, and when the dust settles, Britain's decision may very well prove to be a pivotal event in the reshaping of global relationships and trade that will, in the final analysis, benefit all of us," he said. "We in the U.S. can either wring our hands, or view this moment of disruption as an opportunity to strengthen our own important ties to a Britain less encumbered by the EU."

One day earlier, Johnson could not have disagreed more with the GOP. After giving a speech to the National Association of Latino Elected and Appointed Officials, Johnson told The Post that he had supported President Obama's Deferred Action for Parents of Americans, and was not celebrating the Supreme Court's decision to uphold a stay on it.

"What Obama has done is what needs to happen," said Johnson. "How about a president that will get in there and pressure Republicans to do this? It's the right thing. I happen to agree with Obama, although Obama has broken up 2 million families. That's something I would not be doing as the president of the United States."

Later, at a press conference, Johnson said he would not second guess the court, but saw no scenario in which someone in the United States illegally -- not who had committed no other crime -- should be deported.