Supreme court hears challenges to judge’s transfers and seniority changes