An overseas-trained doctor is poised to secure a compensation payout from the state government after he was unlawfully sacked behind his back.