Nearly 400 judicial officers transferred in UP