Polish Judge Malgorzata Gersdorf walked into the Supreme Court building on Wednesday morning, defying new legislation forcing her to retire as court president and putting the judiciary on a collision course with the government.