The provocative motion started by a far-right politician lost by just three votes in the Senate.