Reword the following paragraph:
It was therefore totally unexpected for the judgment under appeal to annul in part the contested decision on the basis of an alleged lack of reasons.
The partial annulment by the contested judgement of the contested decision on account of the allegation of insufficient statement of reasons was therefore totally unexpected.