Livid axed government official returns to work after court victory