A judicial ethics committee on Tuesday warned judges who mentor attorneys interested in a career on the bench that they should disqualify themselves from cases involving their mentees.

In an expedited opinion, the California Supreme Court Committee on Judicial Ethics Opinion wrote that mentors may grow so invested in an attorney’s quest to become a judge that they may question their own ability to be impartial.