In his first day in office, Donald Trump signed an executive order that defies a US law and encourages others to breach it.