Keep the vessel offshore and force them to unload all the cargo onto a barge for inspection.
I doubt they’d agree to that, though. For they’d be caught smuggling weaponry.
Reality is it would be probably near impossible for Iran to smuggle weapons into gaza