Although Duke Frederick's and Oliver's "conversions" are sudden and improbable, Shakespeare seems to be making a larger, more important point: Despite the fact that human beings are capable of cruelty and treachery, they are also capable of redemption.
The Forest of Arden is an important setting insofar as it is capable of transforming characters almost as soon as they enter the woods.