I made an '00 Forester Dog guard fit an '04 with some minimal cutting/grinding fab work. The legacy is likely shorter and may be wider than the forester (don't know). Where there's a will, there's a way but it may not be worth it compared to picking up the proper one and selling your old one. In my case, I was happier with the fit of my modded '00 dog guard in my '04 than the OEM '04 dog guard because I made it fit exactly the way I wanted. I used some galvanized metal from Lowe's to make some new brackets that fit the holes in the roof and painted them textured black to match.