Pretty annoying one.

In the process of changing a bulb one of the rings in the headlight assembly came loose and slipped out of place - image below:



Any thoughts of how I might go about trying to fix this?