Court ruling puts Poland on a collision course with the EU’s legal order