(3)If the dismissal, removal or compulsory retirement of a Government servant is set aside by the court on the merits of the case, the period intervening between the date of dismissal, removal or compulsory retirement including the period of suspension preceding such dismissal, removal, or compulsory retirement, as the case may be, and the date of reinstatement shall be treated as duty for all purposes and he shall be paid the full pay and allowances for the period, to which he would have been entitled, had he not been dismissed, removed or compulsorily retired or suspended prior to such dismissal, removal or compulsory retirement, as the case may be.