The Supreme Court has upheld a lower court ruling that said the Osaka city office's 2012 probe into whether its workers had tattoos was legal, court officials said last week.