we are on the same wavelength lampshade!!
I found this...
(5)"Pate (1983) indicated that in areas of high ultraviolet radiation exposure, the
UVB (280-320 nm) absorption properties of THC may have conferred an
evolutionary advantage to Cannabis capable of greater production of this
compound...