When acquiring, improving, or using any real property, a district shall comply with Article 5 (commencing with Section 53090) of Chapter 1 of Part 1 of Division 2 of Title 5, and Article 7 (commencing with Section 65400) of Chapter 1 of Division 1 of Title 7 of the Government Code.