If they have the same tire size and same bolt pattern, the only thing you need to check is the wheel dimensions
17x7 +45mm Bore 54.1
17x7 +48mm Bore 56.1
The difference is an offset of 3mm, which means the FR-S wheels will sit slightly recessed. Not a big deal, that is a tenth of an inch, if you want a flush fit, you will need spacers, but you would need those anyways!
The Bore difference is 1mm thickness you will need a set of 56.1 to 54.1 Hubcentric Rings
should be able to find them on your favorite site, but this sit has really good pictures (and I like yellow). You MUST get a set of these, they look like dumb little plastic rings but they are hugely important!!
Even though I believe the above information to be accurate, I still can't be arsed to fact check everything myself. I would strongly suggest you recheck with the person/business you are buying from, if they cannot verify this info, you should not buy from them!