A district may impose fines and penalties as provided by Chapter 284 as if the district were a county to which that chapter applies.