The future of the UK’s fuel refineries could be threatened by a no-deal Brexit, according to an internal local authority document