Iran has repeatedly warned ships against trying to transit through the strait without its approval.