The "if" in that sentence effectively means that the Court has to specifically state what the extended sentence is and why it is being imposed. If the Court does not do that, the sentence is limited as stated above that subsection.
There is generally a formal process for this, particularly in...