Supreme Court declares right to walk on footpath fundamental