replacing light assembly for licsence plate on 2002 Hyundai XG350

I have a Hyundai XG350 and I need to replace the licence plate light assembly, but I am getting the fixture stuck in the foam behind the bumper. I was wondering if I need to remove the bumper or what do I need to do?

Asked by for the 2002 Hyundai XG350