170.Section 82 extends the power to make a referral to Ministers to Scottish local authorities and integration joint boards. To achieve this, section 8 of the PVG Act is amended. The referrals can be made only in connection with issues that arise in exercise of certain statutory functions by these bodies. These functions are listed in subsection (3).