Body style can affect the shape of rear body panels even within the same generation. Sedan and wagon versions, for example, can have different quarter panels, wheel arch profiles and surrounding structures.
If a listing specifies sedan, wagon or another particular body version, treat that information as part of the fitment requirement. Matching the model and year does not automatically mean every body style uses the same panel.