I think that you are probably right but what action they took was based solely on what they considered 'necessary' and ignored the part that limited them to what was 'proper'.
In all things, the government is still to be bound by the strictures placed on it no matter how onerous the government feels those strictures are.
They, and too many of 'we', have forgotten that the government is there to serve us and not to serve as our masters.