They can fire you for wearing green socks ...
Super dumb to disobey a direct order .
IF you were directed to do something in violation of state law regarding hours of work for certain young workers..you might have a point as to an unemployment claim but that's not what you asked .
And even if there was an age point , if you failed to address it up front , I'd give you ZERO slack.