The intrusion of a density current along the coast of a rotating fluid