Garda got drivers to give to charity lieu of  penalty points, court hears