Earplugs may not be used in immersion but only and exclusively in surface swimming.
In fact, its watertight attachment has not been designed for immersion and an improvised entry of water at depth could cause the eardrum to rupture.
Designed to prevent water from entering the ear canals.