Charges have been laid against two teenagers on the same day new youth justice laws are debated in state parliament.