The Criminal Code of Canada states it’s illegal to have sex in a "public place," which is defined as "any place to which the public has access as a right or by invitation."
If you were to receive a summary conviction in federal court, you could face a fine of no more than $2,000, imprisonment for six months, or both.