Justice Minister Mickey Amery has said he expects legislation to pass by the end of the year ahead of the scheduled election in October of 2027.