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

Cross-referenced with "What party would you vote for if an Ontario provincial election was held today?"