There are all sorts of ways around the residence tests, HMRC are actually in my experience rather pragmatic about the whole thing, that's not to say they can't be a pain in the arse either.
I know of several Skippers here at EK who through a good understanding of how the family ties element is put in place...automatically fall into the 180 day category, so it can and is being done.