The agreement will take effect after ratification by parliaments of both countries .