A person who, immediately before the commencement of this section, was a referee under this Act is, until the end of the term for which the person was appointed under this Act, taken to be a referee appointed under the repealed Integrated Planning Act 1997 , section 4 .2.36.