Two Madrid residents jailed following trespassing investigation