A 17-year-old boy has faced court for the first time after allegedly forcing his way onto a Jetstar plane with a firearm.