I believe so, as that is the only way of 'legally' obtaining a Jirachi. You've made a tad unsure though, so you can go post in SQSR if you're curious. I've personally never seen any form of Shiny Jirachi, which leads me to believe that any shiny ones are hacked.