It will work fine, but as you thought, it will stick out an extra 2" into the room, and from the wall. If that isn't an issue, go for it. It becomes an issue if you have clearance issues. the toilet could sit in the middle of the room, if you liked the look. There are LOTS of toilets installed that have a larger than design gap behind them.