Whenever a penalty or fine is imposed upon any school district officer for a violation or omission of official duty, or upon any person for any act or omission within a school district, or touching property or the peace and good order of the district, and such penalty or fine is declared to be for the use or benefit of the common schools of the town or of the county, and such school district lies in two or more towns or counties, the town or county intended by the act shall be taken to be the one in which the schoolhouse, or the schoolhouse longest owned or held by the district is at the time of such violation, act or omission.
N.Y. Educ. Law § 3803