Yes, that was odd. Like in "Insurrection" when a Lieutenant orders Data to stand down. I don't care if he's malfunctioning, he still outranks her!!!
In that instance, Data was being borrowed for a mission under someone else's command, which looks like that Lt. Maybe that's the reason?