Per illustrations available from IoS -
http://www.infinitipartsusa.com, the mounting brackets for 97&98 headlamps (@ $315 ea.) are different from the 99-01 composite headlamps (@ !,108 ea.). The tail lights are definitely different - 'long' for 97&98 and 'short' for 99-01.
The headlamps are expensive. So if the concern is only about yellowing/cloudiness, you can buy a 3M or Meguiars headlight cleaning kit from Autozone and the likes.
What I did (on the I30s, not Q) was buy 5-pk 3M 1000, 1500 and 2000 grit sandpapers (< $5 ea.), also from Autozone, and used them as wet sander in sequence - 1000-1500-2000. Use towels/rags to protect the bumper and hood from being scratched. For each grit of sandpaper, apply horizontally and then vertically (not in circles). The sequence can be repeated, with lighter pressure on the sand paper. You have to make sure that the headlight and sand paper are ALWAYS WET using a water spray bottle. At the end of the wet sanding the headlight should be clean but still cloudy. Use rubbing compound to remove the cloudiness and finally car wax/polish to make it clear and shiny again.