Judges and magistrates have been told to prioritise cases involving ethnic minorities