Q: I received a traffic ticket. Does halachah recognize the validity of such fines?
A: The government is empowered to establish laws that are necessary for the proper functioning of society, such as traffic regulations. A king or government is allowed to punish one who violates these laws and impose a fine on him or confiscate his assets (C.M. 369:8,11).
Thus, halachah also recognizes the validity of the ticket. However, you may contest the ticket and avail yourself of any loopholes to avoid payment, even on technical grounds, such as mistaken information entered on the ticket.
Similarly, many Poskim rule that copyright law is binding based on dina d’malchusa, since it is necessary for proper functioning of society (Beis Yitzchak, Y.D. 2:75).
On the other hand, laws dealing with monetary matters between individuals are not included in dina d’malchusa, and are often not halachically binding between Jews when in conflict with halachah. On certain issues, the Poskim dispute whether it is considered a personal matter or one of a societal nature.