The ruling imposes a 14-day halt on the enforcement on the most controversial executive order signed by Donald Trump.