Court granted request for emergency order from state attorney general’s office, which appealed a lower court ruling last week blocking the law