I think there used to some plastic frame that once sat there that had deteriorated.
I can easily remove that but have a look at this photo of the new light. See all the holes, this allows water to flow behind the light I assume to keep it sanitised back there.
So ultimate question now to drill...