There are no indications this was an illegal weapon. It appears the suspect had a PAL and the firearms were legit. They were taken away by the police at one point because of domestic violence concerns, then an adult in the residence asked for them to be returned and they were.
Whoever made that decision to return the firearms is responsible for killing those kids.