Is there enough room to turn the pan 90deg so it's parallel to the wall? You can get skew pans (side outlet) Might look odd but may possibly solve the problem. Like Silent said, there's a good chance you'll need to move the pipe in the floor anyway.
Mick