Was the federal government's use of the Emergencies Act in 2022 justified?

Cross-referenced with "Which statement is closest to your view of Canada's gun control laws?"