Three in court for possessing firearms