The court of common pleas of the county wherein such lands and tenements may be situated may inquire by the people of the same county, as well of them that make forcible entries in lands and tenements as of them which hold such lands and tenements with force.