Ears pierced and MRi

My baby had to get an mri done this week and she has her ears pierced. Obviously the health of my child is more important then her ears so I don’t want to hear the negative comments. Anyways, the dr said I can take them out as soon as they start and put them back in right after they are done but she’s only had them in for a month. Could they close within the 40 minuets it takes for them to do the MRI?