All railroad companies in this state which shall hereafter pay any taxes on any sleeping, palace, passenger or other cars, hired, leased, run or used on the roads of said companies in this state, shall have a right of action against the company or persons owning such cars for the taxes so paid, with interest thereon from date of payment, and may sue for and recover the same in any court of competent jurisdiction.
§ 151.300, RSMo