Capacity to act in a manner which has legal consequences