Mosaic Ocean Color Produtcs - Apply l2_flags

Please, I did a mosaic from 2 products from OceanColor:
AQUA_MODIS.20230912T162001.L2.OC.nc
AQUA_MODIS.20230912T162501.L2.OC.nc
Now I would like to apply the l2_flags on the mosaic in order to have the Masks (ATMFAIL, LAND, PRODWARN, HILT CLDICE etc…) as it has in the original products.
Thank you.