but it was the sword that really got him in trouble , and when the town council decided to confiscate it as a dangerous weapon , he was obliged to attend a hearing , and justify why they should give it back .