The top adviser to the European Union’s highest court on Thursday said that the principle of linking the bloc’s budget disbursements to respect for rule of law is compatible with the bloc's laws and that a challenge by Hungary and Poland should be dismissed.