All fines and penalties collected by the court shall be paid over to the persons or agencies entitled to the same pursuant to law.