Hastie gave evidence under oath against Roberts-Smith in a defamation case, prompting One Nation to label him a traitor and target his Canning seat. One Nation won a nearby Western Australian byelection and has flagged a strong campaign against Hastie ahead of the 2028 federal election.