Indeed, and miles will be credited according to originally purchased fare class.
OP, there is no way of "avoiding" the fare difference AND getting the benefits of the higher fare. Your only options are to pay up the fare difference or hope for IRROPS which
might rebook you into a higher fare class.