Iran doesn't need a military to issue terroristic threats concerning the Strait. Iran can blow up or attack oil tankers/shipping with low-tech means such as: Suicide boats or fast attack craft (small vessels, often operated by the IRGC rather than the regular navy). Mines laid in the narrow waterway. Shore-launched anti-ship missiles, drones, or other harassment from the Iranian coastline.
Got some of this from X AI...