Formalisation and flexibilisation in dispute resolution