Gel nails and c section?

Mrs. J
*Edited to add: I don't want to get them, I'm 41+2 so no time anyway, was just bored and curious ☺️*
I've worn gel nails maybe 4 times my entire life. Love them, but they ruin my natural nails so I don't unless it's a very special occasion. However, I got to thinking, don't they make you remove any polish before a c section? So what do they do if it's not a planned c section and you're wearing gel nails? You'd think doctors would start warning you to not get them when it's close to delivery time?