Centrelink is very clear about pensions and meeting the criteria. The fact that you have worked and paid tax for 40 years means nothing. If you meet the criteria you will receive a pension, it's that simple. Information can be found online everywhere.
Ethical codes and Thailand shouldn't be mentioned in the same sentence. You have made a lots of assumptions. I wouldn't say racism, more like he might have had a bad experience.