Dallas, they were perfectly within their rights. As an aoc operation, duty periods must be specified by law. We all know that happens retrospectively, but thats another argument.
Moonwalker, if you shut the door, you are performing an "aviation function", so they have got you there.