Perpetrator with far-right political views admits to smashing building's window, trying to throw fireworks inside