Parliament has changed the law to help avoid a repetition of the banning of award-winning children's novel Into the River.
When an interim restriction order was issued against the in 2015 an anomaly in the law meant it could only be left age unrestricted or banned entirely until the board of review met.
The book, written by Ted Dawe, was banned for six weeks after concerns were raised about its depictions of underage sex. The restriction was lifted when the interim order was reviewed.
The bill passed yesterday lets the censor board issue interim orders based on age or specified classes of persons.
National MP Chris Bishop drafted the bill and it passed its earlier stages before the election.