Oda chose to have sanji beat a YC 2 mid difficulty to highlight that he is around YC1 level
You aren't weaker or equal to the opponents you beat, let alone those you beat with barely any real difficulty
We see Marco kick queen without doing any lasting damages
"the way Marco handled queen"
You mean the way Marco handled queen's weakest form, which is by not doing damages that lasted more than a few minutes?
But sure, sanji, who did what Marco couldn't against queen is not YC 1