You checked the sensor ( switch really) under the handbrake had similar problem on my old ST focus....
It is on the bottom of the handbrake.Remove the ashtray, you may be able to get at it if you had small fingers, but if not then sadly its a case of lifting the entire central console section...