Poland's top court says its judges should not use EU law to question the independence of their peers.