Fines and penalties shall be collectible in a manner provided by law for collection of debts. If a person liable to pay a penalty neglects or refuses to pay after demand, the amount, together with interest and costs that may accrue, shall be a judgment in favor of the Commonwealth on the person's property, but only after the judgment has been entered and docketed of record by the prothonotary of the county where the property is situated. The department may transmit to prothonotaries of the various counties certified copies of all judgments, and it shall be the duty of each prothonotary to enter and docket them of record in the prothonotary's office and index them as judgments are indexed, without requiring payment of costs as a condition precedent to entry.