WARNING: This page is about a different car, the 2001 Subaru Outback and 2001 Subaru Legacy. However, it is still accessible from the selected car via links, so may be relevant.
Remove lens (A) and room light mounting screws (B).
Fig 1: Removing Lens & Room Light Mounting Screws
Disconnect harness connectors and remove the light.