Driving is a privilege and if the government arbitrary removed it from a certain class of people it would be considered unjust. Here an example. California revoking all drivers license to people who moved to the state in the last 5 years. It’s perfectly legal and could have a good justification with easing congestion but is pretty unjust to people who need a car to get to work.