If a large piece of debris, the scallop will eventually get rid of it. It really depnds on how it's lodged and how "weighty" it is. It will close it's shell rapidly in an attempt to force it out. It is definately and irritant to be sure but there is little you can do about it.
Cheers
Steve