Iran has the right to break the blockade, which amounts to war.
According to texts of international law, naval blockade should be considered one of the forms of war in the contemporary world; A war that may begin without an official declaration, without extensive exchanges of fire and without ground operations, but its purpose can be to paralyze the economic capacity and force a country to surrender politically. The second common article of the four Geneva Conventions also does not consider the realization of an international armed conflict necessarily dependent on the official declaration of war. Therefore, the absence of a declaration of war cannot in itself change the legal nature of a military action.
Read the full text at the link below.