Head of Poland's top court urges law change after EU censure