They certainly could keep them in use. In practice, missiles are better if you can afford coastal artillery in the first place, but you could easily have a situation in which coastal artillery is retained past its "sell-by" date because of inertia, bureaucratic infighting (eg, if the Army...