Court sentences P.E.I.'s former fire inspector