Iran has repeatedly declared the Strait of Hormuz closed, warning that any vessel violating its restrictions will face consequences.