Iran's armed forces claimed Trump's threat to block Iranian ports and restrict vessels in international waters from 10 a.m. ET was illegal.