Can we breathe a sigh of relief after federal judges blocked President Donald Trump’s discriminatory executive orders? For a moment we can, but we are just a terrorism attack away from the White House gaining a new pretext for its wrathful crackdown against Muslims and immigrants. Among the alterations in American politics since Trump’s inauguration, this may be the most frightening one: a terror attack on U.S. soil will be used by the White House as an excuse for implementing an extra-legal agenda that could only be pushed through in a time of crisis. What the courts will not allow today, what protesters will hit the streets to defend tomorrow, what even the pliant Congress would have a hard time backing — the White House is almost certainly counting on all of this changing in the wake of a domestic terrorist attack. This macabre turn, in which terrorism becomes an opportunity rather than a curse, has ample precedents that tell us one thing: be prepared. It wasn’t long ago that 9/11 was used as a pretext for invading Iraq. Although it was almost immediately clear that Iraq had nothing to do with the attacks on the World Trade Center and the Pentagon, Secretary of Defense Donald Rumsfeld told President George W. Bush on the evening of September 11, “Part of our response maybe should be attacking Iraq. It’s an opportunity.” Just a few years earlier, Rumsfeld, along with Paul Wolfowitz and Dick Cheney, had signed a now-infamous letter calling for the removal of Iraqi leader Saddam Hussein. The with-us-or-against-us atmosphere after 9/11 enabled them to carry out the task. It has happened overseas, too. Vladimir Putin’s rise to power in Russia was accelerated by a series of mysterious bombings against apartment buildings across the country, and the bombings were so essential to consolidating Putin’s rule that he was suspected of organizing them. There was also, most famously, the Reichstag fire in 1933, in which the German Parliament burned to the ground, leading Adolf Hitler, the new chancellor, to warn that “there will be no mercy now. Anyone standing in our way will be cut down.” The Trump administration has already begun laying the groundwork for extreme initiatives if — or more likely when — a terror attack occurs on U.S. soil and is tied to ISIS, al Qaeda or another Muslim group, according to civil liberties lawyers and activists. Under the guise of protecting national security, a blitz of presidential actions could target not just immigrants and Muslims but other minority groups as well as the media and the judiciary. These initiatives will be “more dire and much more severe” than Trump’s first executive order in late January against the citizens of seven Muslim-majority countries, according to Vince Warren, executive director of the Center for Constitutional Rights. While the bad news is stark — expect the worst from Trump when an attack happens on U.S. soil — the better news is that people are already organizing to prevent the worst from happening. There is, it turns out, quite a bit that can be done to prepare for the nearly inevitable moment when the Trump administration tries to take advantage of the tragedy of a man or a woman using a bomb, a gun, a knife or a truck to kill Americans in the name of an Islamic terror group.

Photo: John Tlumacki/The Boston Globe/Getty Images

The first thing to understand is that attacks by foreign-born terrorists are rare. From 1975 through 2015, a total of 3,024 Americans were killed in such attacks, with most of those occurring on 9/11, according to a recent Cato Institute report. In other words, the annual odds of being killed by a foreign-born terrorist are 1 in 3,609,709. Each of these deaths is a tragedy, of course, but they represent a fraction of the preventable fatalities from any number of causes, including spouse-on-spouse violence, traffic accidents, and even toddlers with unsecured guns. Trump’s eagerness to exploit only a particular type of terror attack — by Muslims — was reflected in his selective reaction to two incidents in his first month in office. In late January, he remained silent when a white Christian shot dead six Muslims in a Canadian mosque. A few days later, an Egyptian with a machete attacked French soldiers at the Louvre while shouting “Allahu Akhbar.” Nobody was killed, not even the attacker — one soldier was slightly injured before the Egyptian was shot four times. Yet within hours, Trump tweeted, “A new radical Islamic terrorist has just attacked in Louvre Museum in Paris. Tourists were locked down. France on edge again. GET SMART U.S.” His disingenuity exposes a glaring fallacy in his executive orders. The handful of Muslim-majority countries named in the orders represent a negligible threat for domestic terrorism. The few attacks in America that have involved Muslims, including 9/11, drew largely on people from Saudi Arabia, Pakistan and Egypt — but those countries were not included in either order from the Oval Office. A ruling by Judge Theodore Chuang that blocked the second order noted “strong indications that the national security purpose is not the primary purpose of the travel ban.” The unique dynamic is that the White House has made clear its wish to impose an array of extreme and unconstitutional policies that are nearly impossible to carry out in ordinary times. Trump has previously said, for instance, that he wants to ban all Muslim immigration — “a total and complete shutdown of Muslims entering the United States until our country’s representatives can figure out what is going on,” as he famously stated during the presidential campaign. His top adviser, Steve Bannon, has even complained about the proportion of legal immigrants already in America — which he described as 20 percent of the population, though it’s actually just over 13 percent. “Isn’t the beating heart of this problem, the real beating heart of it, of what we gotta get sorted here, not illegal immigration?” Bannon asked on a radio show in 2016. “We’ve looked the other way on this legal immigration that’s kinda overwhelmed the country.” In a way, the White House is like a pistol cocked to go off at the first touch. Warren, the head of the Center for Constitutional Rights, described the president’s early use of anti-Muslim executive orders as “a precursor, a mirror into what we’re going to be looking at” after a significant terror attack. Warren added, “I think the Trump administration will move by executive fiat for everything. It will create what’s essentially a constitutional crisis in the country.” But Trump is not the pre-ordained winner of the crisis he will initiate.

Photo: Mario Tama/Getty Images