I would remove it at home before reporting to the hospital. Anything that might interfere with your care in the surgical area is not worth chancing.
Back in the day (way back), I was told they needed to see the color of the nail beds. We did not have the little clip-on blood oxygen gizmo. Guess what? That thing misreads my level some of the time. It could never read my mother's.
Removing polish is a small concession to make in order to have a successful hospital outcome.