Then you don't understand what being designated as Commander of an aircraft actually means.
Actually I do.
Yes there can be only one commander at any one time. However I suspect the more senior might find themselves culpable if they did not assume control when faced with a breach of the law.