Can a Dryer with a 4" exhaust safely vent through a 3" pipe?
3" and 9' with an early elbow is a mild disaster. 3" ducting gives just over half the cross sectional area of 4".

You're constricting and complicating airflow, which can lead to clogging. 

4" would be preferable, even with the extra turn.