Prime Minister Scott Morrison has missed the vote for his government's .
The changes still passed through the lower house on Wednesday evening, with the vote occurring as politicians prepared for the annual Midwinter Ball at Parliament House.
Under the changes, people would automatically fail the character test if convicted of certain offences which carry a prison term of two or more years, even if their sentence is lower.The vote passed by the skin of its teeth ahead of parliament wrapping up for the day, with some MPs sitting in the chamber dressed for the ball.
David Coleman said the bill was targeted at people who had "breached" their pact with Australia. Source: AAP
Labor opposes the bill and believes the immigration minister already has the ability to do what the legislation calls for, through ministerial discretion.
Opposition immigration spokesman Andrew Giles said the changes would hurt Australia's relationship with New Zealand.
"This has been all about the politics, not about the policy," he said during debate on the bill.
He pointed the fact that Immigration Minister David Coleman rejected a Labor compromise on the proposal.
Labor wants the government to remove the law's retrospective nature, keep the current definition of a "serious crime" to cover people sentenced to at least a year in prison, and take into account the impact on New Zealanders.
Mr Giles urged the government to consider submissions made on the bill by legal experts, who have raised concerns it could ensnare people convicted of minor offences.
Mr Coleman said the bill was targeted at people who had "breached" their pact with Australia.
"We have no sympathy for non-citizens who commit serious crimes in our nation," he said before the bill passed.