Section 10. If the commonwealth continues seized of the land when such new action is commenced, such action shall be brought against the tenant or occupant thereof, and, in addition to the service on him service shall be made upon the attorney general or district attorney. If the commonwealth has granted away the land, the action shall be brought against the tenant of the freehold. In either case it shall be conducted and disposed of as if no such action by the commonwealth had been brought.