When outside the limits of a municipal corporation it becomes necessary for the track of a railroad, street or electric railway, or interurban railroad company to cross the tracks of another railroad, street or electric railway, or interurban railroad company, or it is necessary within the corporate limits of a municipal corporation for the tracks of a railroad, street or electric railway, or interurban railroad company to cross the tracks of another railroad, street or electric railway, or interurban railroad company, other than within the limits of a public street or highway, unless the manner of such crossing is agreed to between such companies, the court of common pleas of the county in which such crossing is located, or a judge of such court in vacation, on application of either party, must ascertain and define by its decree the mode of such crossing which will inflict the least practical injury upon the rights of the company owning or operating the tracks intended to be crossed.
R.C. § 4955.16