Any person, including but not limited to a railroad, contractor for a railroad, or a local or State governmental entity that performs any function covered by this part, must perform that function in accordance with this part.