Can an employer deny a person a job based on a pending court outcome?
Yes, it is legal to do this. An employer may deny someone a job (i.e. choose to not hire them) for any reason which is not illegal discrimination (e.g. discrimination against someone based on race, sex, religion, age over 40, or disability). You don't mention whether the court in question is civil or criminal, but in either event, if the employer is worried about your availability, whether you pose any liability risk, etc., it can refuse to offer you the job based on the pending court outcome.


Are you a lawyer?