 Significant parts of these areas were transferred from the third European Union pillar to the first under the Amsterdam Treaty; Denmark's opt-outs from these areas were kept valid through additional protocols, so they now have an opt-out from the Area of freedom, security and justice.Acts made under those powers are not binding on Denmark except for those relating to Schengen, which are instead conducted on an intergovernmental basis with Denmark.Under the Treaty of Lisbon, Denmark can change its JHA opt-out from a complete opt-out to the case-by-case opt-in version applying to Ireland whenever it wishes.