The agreement made an all-Ireland state possible . The six-county region in the northeast could opt out of the Free State if they wanted to . The treaty provided for a possible all-Ireland state , subject to the right of a six-county region in the northeast to opt out of the Free State .