Can a traffic ticket be used in court?

No.  Whether a ticket is issued, to whom it is issued, and what that person does with the ticket, i.e., pays it, disputes it, etc., is all inadmissible in court.  It is only the testimony of the parties involved and witness testimony, if applicable, that will be considered by the court in determining who is at fault for an accident.