There is a known problem with the air ground sensors and it occasionally happens. Sometimes the gear comes up after TO and you get a message or you cant retract the gear and you get a message. It really isnt an emergency in the sense that you need priority or are in anyway different for doing an air return. The canadians always jump at the chance to make something a beurocratic mess so i can see why the controller declared it for them.