The answer could be effected by some details not given.
(a) Is the disconenct classified ?
(b) In there a dike or wall arond the tank ?
(c) A roof ?
(d) Where are the tank vents ?
There are folks here more qualified than I to answer and hopefully they will, but as I see it, as described, you have no problem
with the switch being outside of the dike.