The British government says it will reluctantly have to consider reintroducing direct rule in Northern Ireland if extended talks over the next three weeks to restore a power-sharing executive fail.