roth ira

How to correct overfunding of a Roth IRA?

My married daughter filled MFS for tax years 2021, 2022, and 2023 but contributed to a Roth IRA

This is not permissible with an income >10K

Can this be corrected by amending tha tax returns for these years to MFJ

Thanks, MJM