WASHINGTON — White House Press Secretary Sean Spicer said in a news conference Monday that President Donald Trump’s immigration order inconvenienced some this weekend “for the safety of us all,” adding that Trump wanted to be proactive, rather than reactive, in fighting terrorism.

“Being able to come to America is a privilege, not a right,” Spicer said.

Watch Spicer’s full news conference in the player above.

Trump’s order, which temporarily suspends all immigration for citizens of seven majority-Muslim countries for 90 days, caused confusion and reports of dozens of people being detained as they tried to enter the country. The order prompted a weekend of protests at airports across the country.

Trump on Monday denied his immigration order was to blame for the chaos at the nation’s airports over the weekend, instead pointing to computer glitches, protesters and even the “tears of Senator Schumer.”

Only 109 people out of 325,000 were detained and held for questioning. Big problems at airports were caused by Delta computer outage,….. — Donald J. Trump (@realDonaldTrump) January 30, 2017

Spicer reiterated that only 109 people were detained as a result of the order. Other groups, like the ACLU, say the number was higher.

Associated Press’ Vivian Salama and Catherine Lucey contributed to this report.