To resolve the dispute , lawmakers adopted a separate resolution saying the Polish constitution has supremacy over the EU charter .