This is a question that has been bothering me for years. Since they both work for the executive branch, would say, a police Captain have more authority than a military Lieutenant?
Meaning if both were somehow put on the same duty, would the lower ranked individual have to obey his higher ranked superior regardless of service?