The 30-year-old man, identified as Zheng Liwei, was accused of vandalizing two automated immigration gates at the airport on Wednesday while attempting to clear passport control for a flight back to China, Bangkok Post reported.

According to reports, Zheng became increasingly agitated after repeatedly failing to complete the airport’s automated screening process.

Video footage circulating online appears to show him slamming his passport against the scanner before kicking the glass barriers and forcing his way through the checkpoint.

Immigration officers quickly intercepted the man after he allegedly crossed the gate without authorization, police told local media outlet The Nation.

Airport security officers, assisted by the man’s wife, later restrained him after he allegedly shouted abuse in both Chinese and English and attempted to assault immigration personnel.