Twin brothers cried in court as they were spared jail for threatening to blow up a police station during riots last year.