For the story so far, see https://www.breakinglaw.co.uk/2021/01/flexible-tenancies-landlords-in-trouble.html The Supreme Court has just granted the local authority permission to appeal to it against the decision of the Court of Appeal.
Now for the wait.