Employment Law Questions? Ask an Employment Lawyer.
Unfair dismissal, the only conclusion of can come to from what you have suggested.
File a complaint with the Fair Work Commission:
They should see that they filled the position with another and it is clear they are just trying to get rid of you.
Please click accept / rate my service. I am able to answer further questions after doing so at no further cost to you.
Sorry, this has been listed in the Australian law section, I shall ask for it to be moved
all the best with it.