In the exercise of its functions under sections 3, 10, 15, 20 and 24, a local housing authority must have regard to any guidance given from time to time in writing by the Welsh Ministers.