act malapropos

Translations
вести себя некстати
He acted malapropos during the solemn ceremony.
Он вел себя некстати во время торжественной церемонии.