He said his behaviour was “absolutely inexcusable and dangerous”