WARNING: This page is about a different car, the 2007 Subaru Outback and 2007 Subaru Legacy. However, it is still accessible from the selected car via links, so may be relevant.
Disconnect the ground cable from battery.
Remove the luggage room light body (A).
Fig 1: Identifying Luggage Room Light Body
Courtesy of SUBARU OF AMERICA, INC.
Disconnect the harness connector and remove the lens.